| java.lang.Object net.sf.saxon.tinytree.TinyNodeImpl net.sf.saxon.tinytree.TinyParentNodeImpl
All known Subclasses: net.sf.saxon.tinytree.TinyDocumentImpl, net.sf.saxon.tinytree.TinyElementImpl,
TinyParentNodeImpl | abstract class TinyParentNodeImpl extends TinyNodeImpl (Code) | | TinyParentNodeImpl is an implementation of a non-leaf node (specifically, an Element node
or a Document node)
author: Michael H. Kay |
getStringValue | final public String getStringValue()(Code) | | Return the string-value of the node, that is, the concatenation
of the character content of all descendent elements and text nodes.
the accumulated character content of the element, including descendant elements. |
getStringValue | final public static CharSequence getStringValue(TinyTree tree, int nodeNr)(Code) | | Get the string value of a node. This static method allows the string value of a node
to be obtained without instantiating the node as a Java object. The method also returns
a CharSequence rather than a string, which means it can sometimes avoid copying the
data.
Parameters: tree - The containing document Parameters: nodeNr - identifies the node whose string value is required. This must be adocument or element node. The caller is trusted to ensure this. the string value of the node, as a CharSequence |
getStringValueCS | public CharSequence getStringValueCS()(Code) | | Get the value of the item as a CharSequence. This is in some cases more efficient than
the version of the method that returns a String.
|
hasChildNodes | final public boolean hasChildNodes()(Code) | | Determine if the node has children.
|
|
|