public class XMLTextNode extends java.lang.Object implements ElementNode
| Constructor and Description |
|---|
XMLTextNode(XMLNode parent,
java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
XMLNode |
getParent()
Return the Node parent (or null if the Node is the root of the XML File).
|
java.lang.String |
getText()
Return the text content for the node.
|
public XMLTextNode(XMLNode parent, java.lang.String text)
public XMLNode getParent()
getParent in interface ElementNodepublic java.lang.String getText()
getText in interface ElementNodeCopyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence