com.jclark.xsl.dom
Class CommentNode
- Node, SourceLocator
(package private) class CommentNode
Wraps a W3C DOM XML Comment Node as an om.Node
String | getData()- Returns text for TEXT node; value for attribute node;
content for comment node;
content after PI for PI node;
|
byte | getType()- returns one of:
ELEMENT, TEXT, ATTRIBUTE,
ROOT, PROCESSING_INSTRUCTION or COMMENT
|
compareTo, equals, getAttribute, getAttributeValue, getAttributes, getChildren, getColumnNumber, getData, getElementWithId, getFollowingSiblings, getGeneratedId, getLineNumber, getName, getNamespacePrefixMap, getParent, getPublicId, getRoot, getSystemId, getURL, getUnparsedEntityURI, isId |
CommentNode
(package private) CommentNode(org.w3c.dom.Node domNode,
ContainerNode parent,
int childIndex)
getData
public final String getData()
Returns text for TEXT node; value for attribute node;
content for comment node;
content after PI for PI node;
- getData in interface Node
- getData in interface NodeBase
getType
public byte getType()
returns one of: ELEMENT, TEXT, ATTRIBUTE,
ROOT, PROCESSING_INSTRUCTION or COMMENT
- getType in interface Node