com.icl.saxon.tinytree

Class TinyCommentImpl

final class TinyCommentImpl extends TinyNodeImpl implements Comment

TinyCommentImpl is an implementation of CommentInfo

Author: Michael H. Kay

Constructor Summary
TinyCommentImpl(TinyDocumentImpl doc, int nodeNr)
Method Summary
voidcopy(Outputter out)
Copy this node to a given outputter
shortgetNodeType()
Get the node type
StringgetStringValue()
Get the XPath string value of the comment

Constructor Detail

TinyCommentImpl

public TinyCommentImpl(TinyDocumentImpl doc, int nodeNr)

Method Detail

copy

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

getNodeType

public final short getNodeType()
Get the node type

Returns: NodeInfo.COMMENT

getStringValue

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