public abstract class AkomaNtosoType<T extends DocumentType> extends Object implements AknObject
The complex type akomaNtosoType is the type for the root element in Akoma Ntoso.
<xsd:complexType name=“akomaNtosoType”> <xsd:sequence> <xsd:sequence> <xsd:group ref=“documentType”/> <xsd:sequence> <xsd:element ref=“components” minOccurs=“0” maxOccurs=“1”/> <xsd:sequence> <xsd:complexType>
| Constructor and Description |
|---|
AkomaNtosoType() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
Components |
getComponents() |
T |
getDocumentType() |
void |
nestedCompare(AknObject object,
DiffContext context) |
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
void |
setComponents(Components components) |
void |
setDocumentType(T documentType) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattributes, compare, namepublic final T getDocumentType()
public final void setDocumentType(T documentType)
public final Components getComponents()
public final void setComponents(Components components)
public void write(XmlWriter writer) throws IOException
The object implements the write method to save its contents by calling the methods of Output.
write in interface Externalizablewriter - the stream to write the object toIOExceptionpublic void read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
read in interface Externalizablereader - the stream to read data from in order to restore the objectpublic void accept(AknVisitor visitor)
public void nestedCompare(AknObject object, DiffContext context)
nestedCompare in interface AknObjectCopyright © 2017. All rights reserved.