Class TText
constructor contents
Initializes the object internal state and specifies the string it
represents.
|
getData
Fetches the contents of this node.
|
getNodeType
Retrieves the type of this node object.
|
|
constructor
TText constructor contents
Initializes the object internal state and specifies the string it
represents.
- Parameters:
- contents -
A string that will be used as the contents for this node.
-
getData
TText getData
Fetches the contents of this node.
- Returns:
-
The string representing the contents of this node. This is the same
string that was received at constructor time.
-
getNodeType
TText getNodeType
Retrieves the type of this node object.
- Returns:
-
A symbol representing the type of this node object.
-
For the case of a TText the symbol Text
is returned.
Report a bug or request new features
© 2002