org.castor.xmlctf.xmldiff.xml.nodes
Class Text
java.lang.Object
org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
org.castor.xmlctf.xmldiff.xml.nodes.Text
public class Text
- extends XMLNode
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
|
Constructor Summary |
Text(String value)
Creates a new Text node with the given initial value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Text
public Text(String value)
- Creates a new Text node with the given initial value.
- Parameters:
value - the text value of this XML Text node.
getStringValue
public String getStringValue()
- Returns the string value of this Text node.
- Specified by:
getStringValue in class XMLNode
- Returns:
- The string value of this Text node.
setValue
public void setValue(String value)
- Sets the value for this text node.
- Parameters:
value - The new value for this text node.
Copyright © 2012. All Rights Reserved.