|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.xmlctf.xmldiff.xml.nodes.XMLNode
org.castor.xmlctf.xmldiff.xml.nodes.ParentNode
public abstract class ParentNode
The base object for both Element and RootNode. The children of a ParentNode can be any type of XMLNode.
| Field Summary |
|---|
| Fields inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode |
|---|
ATTRIBUTE, ELEMENT, PROCESSING_INSTRUCTION, ROOT, TEXT |
| Method Summary | |
|---|---|
void |
addChild(XMLNode node)
Adds the given child node to this ParentNode. |
Iterator |
getChildIterator()
Returns an Iterator over the list of child nodes. |
String |
getStringValue()
Returns the string value of this parent node. |
boolean |
hasChildNodes()
Returns true if this node has any child nodes. |
| Methods inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode |
|---|
getLocalName, getNamespaceURI, getNamespaceURI, getNodeLocation, getNodeType, getParentNode, getRootNode, getXPath, setNamespace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Iterator getChildIterator()
public boolean hasChildNodes()
public String getStringValue()
getStringValue in class XMLNodepublic void addChild(XMLNode node)
node - the child node to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||