Class Text
java.lang.Object
org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
org.castor.xmlctf.xmldiff.xml.nodes.Text
A class representing an XML Text node.
- Since:
- Castor 1.1
- Version:
- $Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
- Author:
- Edward Kuns
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the string value of this Text node.void
Sets the value for this text node.Methods inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
getLocalName, getNamespaceURI, getNamespaceURI, getNodeLocation, getNodeType, getParentNode, getRootNode, getXPath, setNamespace
-
Constructor Details
-
Text
Creates a new Text node with the given initial value.- Parameters:
value
- the text value of this XML Text node.
-
-
Method Details
-
getStringValue
Returns the string value of this Text node.- Specified by:
getStringValue
in classXMLNode
- Returns:
- The string value of this Text node.
-
setValue
Sets the value for this text node.- Parameters:
value
- The new value for this text node.
-