Uses of Interface
org.htmlcleaner.HtmlNode
-
-
Uses of HtmlNode in org.htmlcleaner
Classes in org.htmlcleaner that implement HtmlNode Modifier and Type Class Description class
CommentNode
HTML comment token.class
ContentNode
HTML text token.private class
Serializer.HeadlessTagNode
Used to implement serialization with missing envelope - omiting open and close tags, just serialize children.class
TagNode
XML node tag - basic node of the cleaned HTML tree.Methods in org.htmlcleaner with parameters of type HtmlNode Modifier and Type Method Description int
TagNode. getChildIndex(HtmlNode child)
void
TagNode. insertChild(int index, HtmlNode childToAdd)
Inserts specified node at specified position in array of childrenvoid
TagNode. insertChildAfter(HtmlNode node, HtmlNode nodeToInsert)
Inserts specified node in the list of children after specified childvoid
TagNode. insertChildBefore(HtmlNode node, HtmlNode nodeToInsert)
Inserts specified node in the list of children before specified childvoid
TagNode. replaceChild(HtmlNode childToReplace, HtmlNode replacement)
Replaces specified child node with specified replacement node.boolean
TagNodeVisitor. visit(TagNode parentNode, HtmlNode htmlNode)
Action to be performed on single node in the tree
-