Skip to content

jacquesmilitello/legaldocml

Repository files navigation

The library for LegalDocML - AkomaNtoso

Build Status Quality Gate

Domain Model

All the XSD is transform to different kind of Object :

AttributeGroup

<xsd:attributeGroup name="name">
   <xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:attributeGroup>

This XML fragment will be transform to :

public interface Name extends AknObject {

    String getName();

    void setName(String name);

}

ComplexType

IO

All AknObject implements the Externalizable Interface.

public interface Externalizable {
    void write(XmlWriter writer) throws IOException;
    void read(XmlReader reader);
}

XmlReader

XmlWriter

Factory

Read

XmlReaderFactory factory = XmlProvider.readerFactory();
AkomaNtoso<?> akn = factory.read(<<MappedByteBuffer>>>);

Write

XmlWriterFactory factory = XmlProvider.writerFactory(3);
factory.write(<<<WritableByteChannel>>>, <<<AkomaNtoso>>>);

Business Provider

Buisiness Builder

TODO

Business Reader

TODO

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published