Uses of Class
eu.maveniverse.domtrip.Comment
-
Packages that use Comment Package Description eu.maveniverse.domtrip DomTrip - A lossless XML processing library for Java. -
-
Uses of Comment in eu.maveniverse.domtrip
Methods in eu.maveniverse.domtrip that return Comment Modifier and Type Method Description CommentEditor. addComment(ContainerNode parent, java.lang.String content)Adds a comment as a child of the specified parentCommentEditor.EditorCommentBuilder. build()Builds and adds the comment to the document.CommentComment. clone()Deprecated.Usecopy()instead.static CommentElement. comment(java.lang.String content)Creates a comment node.CommentEditor. commentOutElement(Element element)Comments out an element by wrapping it in an XML comment.CommentEditor. commentOutElements(Element... elements)Comments out multiple elements as a single block comment.CommentComment. content(java.lang.String content)Sets the content of this comment.CommentComment. copy()Creates a deep copy of this node.static CommentComment. of(java.lang.String content)Creates a comment with the specified content.CommentComment. parent(ContainerNode parent)Sets the parent container node of this node.CommentComment. precedingWhitespace(java.lang.String whitespace)Sets the whitespace that precedes this node.Methods in eu.maveniverse.domtrip with parameters of type Comment Modifier and Type Method Description ElementEditor. uncommentElement(Comment comment)Uncomments a previously commented element by parsing the comment content back to XML.default DomTripVisitor.ActionDomTripVisitor. visitComment(Comment comment)Called for comment nodes during traversal.Method parameters in eu.maveniverse.domtrip with type arguments of type Comment Modifier and Type Method Description TreeWalkerTreeWalker. onComment(java.util.function.Function<Comment,DomTripVisitor.Action> handler)Sets the callback invoked for each comment node.
-