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 booleanequals(java.lang.Object o)java.lang.StringgetText()inthashCode()java.lang.StringtoString()-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-