public abstract class ParentNode extends XMLNode
| Modifier and Type | Method and Description |
|---|---|
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.
|
getLocalName, getNamespaceURI, getNamespaceURI, getNodeLocation, getNodeType, getParentNode, getRootNode, getXPath, setNamespacepublic Iterator getChildIterator()
public boolean hasChildNodes()
public String getStringValue()
getStringValue in class XMLNodepublic void addChild(XMLNode node)
node - the child node to addCopyright © 2021. All rights reserved.