All the XSD is transform to different kind of Object :
<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);
}
All AknObject implements the Externalizable Interface.
public interface Externalizable {
void write(XmlWriter writer) throws IOException;
void read(XmlReader reader);
}
XmlReaderFactory factory = XmlProvider.readerFactory();
AkomaNtoso<?> akn = factory.read(<<MappedByteBuffer>>>);
XmlWriterFactory factory = XmlProvider.writerFactory(3);
factory.write(<<<WritableByteChannel>>>, <<<AkomaNtoso>>>);
TODO
TODO