net.sf.saxon.tinytree
Class TinyTextImpl
- ExtendedNodeInfo, FingerprintedNode, Item, NodeInfo, Source, PullEvent, Source, SourceLocator, ValueRepresentation
public final class TinyTextImpl
A node in the XML parse tree representing character content
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.
|
atomize , compareOrder , equals , generateId , getAttributeValue , getBaseURI , getColumnNumber , getConfiguration , getDeclaredNamespaces , getDisplayName , getDocumentNumber , getDocumentRoot , getFingerprint , getLineNumber , getLocalPart , getNameCode , getNamePool , getNodeNumber , getParent , getPrefix , getPublicId , getRoot , getSequenceNumber , getStringValueCS , getSystemId , getTypeAnnotation , getTypedValue , getURI , hasChildNodes , hashCode , isAncestorOrSelf , isId , isIdref , isNilled , isSameNodeInfo , iterateAxis , iterateAxis , setParentNode , setSystemId |
TinyTextImpl
public TinyTextImpl(TinyTree tree,
int nodeNr)
Create a text node
tree
- the tree to contain the nodenodeNr
- the internal node number
copy
public void copy(Receiver out,
int whichNamespaces,
boolean copyAnnotations,
int locationId)
throws XPathException
Copy this node to a given outputter
- copy in interface NodeInfo
getNodeKind
public final int getNodeKind()
Return the type of node.
- getNodeKind in interface NodeInfo
getStringValue
public static CharSequence getStringValue(TinyTree tree,
int nodeNr)
Static method to get the string value of a text node without first constructing the node object
tree
- the treenodeNr
- the node number of the text node
- the string value of the text node