Package org.apache.pivot.xml
Class TextNode
- java.lang.Object
-
- org.apache.pivot.xml.Node
-
- org.apache.pivot.xml.TextNode
-
public class TextNode extends Node
Class representing an XML text node.
-
-
Constructor Summary
Constructors Constructor Description TextNode(java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getText()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class org.apache.pivot.xml.Node
getNodeListeners, getParent, setParent
-
-
-
-
Method Detail
-
getText
public java.lang.String getText()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-