Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
org.castor.xmlctf.xmldiff.xml.nodes.ParentNode
org.castor.xmlctf.xmldiff.xml.nodes.Root
public class Root
extends ParentNode
Field 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.