net.sf.saxon.tinytree

Class TinyCommentImpl

final class TinyCommentImpl extends TinyNodeImpl

TinyCommentImpl is an implementation of CommentInfo

Author: Michael H. Kay

Constructor Summary
TinyCommentImpl(TinyTree tree, int nodeNr)
Method Summary
Valueatomize()
Get the typed value of this node.
voidcopy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter
intgetNodeKind()
Get the node type
StringgetStringValue()
Get the XPath string value of the comment
SequenceIteratorgetTypedValue()
Get the typed value of this node.

Constructor Detail

TinyCommentImpl

public TinyCommentImpl(TinyTree tree, int nodeNr)

Method Detail

atomize

public Value atomize()
Get the typed value of this node. Returns the string value, as an instance of xs:string

copy

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

getNodeKind

public final int getNodeKind()
Get the node type

Returns: Type.COMMENT

getStringValue

public final String getStringValue()
Get the XPath string value of the comment

getTypedValue

public SequenceIterator getTypedValue()
Get the typed value of this node. Returns the string value, as an instance of xs:string