net.sf.saxon.tinytree
public final class TinyTextImpl extends TinyNodeImpl
| Constructor Summary | |
|---|---|
| TinyTextImpl(TinyTree tree, int nodeNr)
Create a text node | |
| Method Summary | |
|---|---|
| Value | atomize()
Get the typed value. |
| void | copy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter |
| int | getNodeKind()
Return the type of node. |
| String | getStringValue()
Return the character value of the node. |
| static CharSequence | getStringValue(TinyTree tree, int nodeNr)
Static method to get the string value of a text node without first constructing the node object |
| CharSequence | getStringValueCS()
Get the value of the item as a CharSequence. |
| SequenceIterator | getTypedValue()
Get the typed value of this node.
|
Parameters: tree the tree to contain the node nodeNr the internal node number
Returns: the typed value. It will be a Value representing a sequence whose items are atomic values.
Since: 8.5
Returns: Type.TEXT
Returns: the string value of the node
Parameters: tree the tree nodeNr the node number of the text node
Returns: the string value of the text node