com.icl.saxon.tinytree

Class TinyTextImpl

final class TinyTextImpl extends TinyNodeImpl implements Text

A node in the XML parse tree representing character content

Author: Michael H. Kay

Constructor Summary
TinyTextImpl(TinyDocumentImpl doc, int nodeNr)
Method Summary
voidcopy(Outputter out)
Copy this node to a given outputter
voidcopyStringValue(Outputter out)
Copy the string-value of this node to a given outputter
shortgetNodeType()
Return the type of node.
StringgetStringValue()
Return the character value of the node.

Constructor Detail

TinyTextImpl

public TinyTextImpl(TinyDocumentImpl doc, int nodeNr)

Method Detail

copy

public void copy(Outputter out)
Copy this node to a given outputter

copyStringValue

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

getNodeType

public final short getNodeType()
Return the type of node.

Returns: Node.TEXT

getStringValue

public String getStringValue()
Return the character value of the node.

Returns: the string value of the node