com.icl.saxon.tree

Class CommentImpl

final class CommentImpl extends NodeImpl implements Comment

CommentImpl is an implementation of a Comment node

Author: Michael H. Kay

Field Summary
Stringcomment
Constructor Summary
CommentImpl(String content)
Method Summary
voidcopy(Outputter out)
Copy this node to a given outputter
StringgetNodeName()
Get the name of this node, following the DOM rules
shortgetNodeType()
StringgetStringValue()

Field Detail

comment

String comment

Constructor Detail

CommentImpl

public CommentImpl(String content)

Method Detail

copy

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

getNodeName

public final String getNodeName()
Get the name of this node, following the DOM rules

Returns: "#comment"

getNodeType

public final short getNodeType()

getStringValue

public final String getStringValue()