net.sf.saxon.tree

Class TextImpl

final class TextImpl extends NodeImpl

A node in the XML parse tree representing character content

Author: Michael H. Kay

Constructor Summary
TextImpl(ParentNodeImpl parent, String content)
Method Summary
voidcopy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter
intgetNodeKind()
Return the type of node.
StringgetStringValue()
Return the character value of the node.

Constructor Detail

TextImpl

public TextImpl(ParentNodeImpl parent, String content)

Method Detail

copy

public void copy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter

getNodeKind

public final int getNodeKind()
Return the type of node.

Returns: Type.TEXT

getStringValue

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

Returns: the string value of the node