public final class AkomaNtoso<T extends DocumentType> extends AkomaNtosoType<T> implements Core
The element akomaNtoso is the root element of all document types in Akoma Ntoso. It follows the pattern Universal Root (http://www.xmlpatterns.com/UniversalRootMain.shtml).
<xsd:element name="akomaNtoso" type="akomaNtosoType"/>
| Constructor and Description |
|---|
AkomaNtoso(AkomaNtosoContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
void |
add(Attribute attribute) |
AkomaNtosoContext |
getContext() |
String |
name()
Name of this object (the name of the xml element)
|
void |
nestedCompare(AknObject object,
DiffContext context) |
String |
toString() |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
getComponents, getDocumentType, read, setComponents, setDocumentTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributesattributes, comparereadpublic AkomaNtoso(AkomaNtosoContext context)
public AkomaNtosoContext getContext()
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 Corewrite in interface Externalizablewrite in class AkomaNtosoType<T extends DocumentType>writer - the stream to write the object toIOExceptionpublic String name()
Name of this object (the name of the xml element)
public void accept(AknVisitor visitor)
accept in interface Visitableaccept in class AkomaNtosoType<T extends DocumentType>public void nestedCompare(AknObject object, DiffContext context)
nestedCompare in interface AknObjectnestedCompare in interface CorenestedCompare in class AkomaNtosoType<T extends DocumentType>Copyright © 2017. All rights reserved.