public class Comment extends Node
| Constructor and Description |
|---|
Comment(java.lang.String data,
java.lang.String baseUri)
Create a new comment node.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData()
Get the contents of the comment.
|
java.lang.String |
nodeName()
Get the node name of this node.
|
java.lang.String |
toString() |
absUrl, addChildren, addChildren, after, after, attr, attr, attributes, baseUri, before, before, childNode, childNodes, childNodesAsArray, childNodesCopy, childNodeSize, clone, doClone, equals, hasAttr, hashCode, indent, nextSibling, outerHtml, outerHtml, ownerDocument, parent, parentNode, previousSibling, remove, removeAttr, removeChild, replaceChild, replaceWith, setBaseUri, setParentNode, setSiblingIndex, siblingIndex, siblingNodes, traverse, unwrap, wrappublic Comment(java.lang.String data,
java.lang.String baseUri)
data - The contents of the commentbaseUri - base URIpublic java.lang.String nodeName()
Nodepublic java.lang.String getData()
Copyright © 2009-2013 Jonathan Hedley. All Rights Reserved.