com.icl.saxon.tinytree

Class TinyParentNodeImpl

abstract class TinyParentNodeImpl extends TinyNodeImpl

TinyParentNodeImpl is an implementation of a non-leaf node (specifically, an Element node or a Document node)

Author: Michael H. Kay

Method Summary
voidcopyStringValue(Outputter out)
Copy the string-value of this node to a given outputter
StringgetStringValue()
Return the string-value of the node, that is, the concatenation of the character content of all descendent elements and text nodes.
booleanhasChildNodes()
Determine if the node has children.

Method Detail

copyStringValue

public void copyStringValue(Outputter out)
Copy the string-value of this node to a given outputter

getStringValue

public String getStringValue()
Return the string-value of the node, that is, the concatenation of the character content of all descendent elements and text nodes.

Returns: the accumulated character content of the element, including descendant elements.

hasChildNodes

public boolean hasChildNodes()
Determine if the node has children.