Comment |
Editor.addComment(ContainerNode parent,
java.lang.String content) |
Adds a comment as a child of the specified parent
|
Comment |
Editor.EditorCommentBuilder.build() |
Builds and adds the comment to the document.
|
Comment |
Comment.clone() |
Deprecated.
|
static Comment |
Element.comment(java.lang.String content) |
Creates a comment node.
|
Comment |
Editor.commentOutElement(Element element) |
Comments out an element by wrapping it in an XML comment.
|
Comment |
Editor.commentOutElements(Element... elements) |
Comments out multiple elements as a single block comment.
|
Comment |
Comment.content(java.lang.String content) |
Sets the content of this comment.
|
Comment |
Comment.copy() |
Creates a deep copy of this node.
|
Comment |
Editor.insertCommentAfter(Element referenceElement,
java.lang.String text) |
Inserts a comment after the specified reference element.
|
Comment |
Editor.insertCommentBefore(Element referenceElement,
java.lang.String text) |
Inserts a comment before the specified reference element.
|
static Comment |
Comment.of(java.lang.String content) |
Creates a comment with the specified content.
|
Comment |
Comment.parent(ContainerNode parent) |
Sets the parent container node of this node.
|
Comment |
Comment.precedingWhitespace(java.lang.String whitespace) |
Sets the whitespace that precedes this node.
|