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
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

Constructor Detail

TinyCommentImpl

public TinyCommentImpl(TinyTree tree, int nodeNr)

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()
Get the node type

Returns: Type.COMMENT

getStringValue

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