public class XMLTextNode extends Object implements ElementNode
| Constructor and Description |
|---|
XMLTextNode(XMLNode parent,
String text)
Create a text node with a parent and text content.
|
| Modifier and Type | Method and Description |
|---|---|
XMLNode |
getParent()
Return the Node parent (or null if the Node is the root of the XML File).
|
String |
getText()
Return the text content for the node.
|
public XMLNode getParent()
getParent in interface ElementNodepublic String getText()
getText in interface ElementNodeCopyright © 2026. All rights reserved.