| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.castor.xmlctf.xmldiff.xml.nodes.XMLNodeorg.castor.xmlctf.xmldiff.xml.nodes.ParentNodeorg.castor.xmlctf.xmldiff.xml.nodes.Rootpublic class Rootextends ParentNodeField Summary |
Fields inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode | |
ATTRIBUTE, ELEMENT, PROCESSING_INSTRUCTION, ROOT, TEXT | |
Constructor Summary | |
| |
Method Summary | |
XMLNode |
|
Methods inherited from class org.castor.xmlctf.xmldiff.xml.nodes.ParentNode | |
addChild, getChildIterator, getStringValue, hasChildNodes | |
Methods inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode | |
getLocalName, getNamespaceURI, getNamespaceURI, getNodeLocation, getNodeType, getParentNode, getRootNode, getStringValue, getXPath, setNamespace, setParent | |
public Root()
Creates a new Root Node. Basically, a root node can contain only Elements and nothing else.
public XMLNode getRootNode()
Returns the root node, i.e.,this.
- Overrides:
- getRootNode in interface XMLNode
- Returns:
- The root node.