Modifier and Type | Class and Description |
---|---|
class |
CommentNode
HTML comment token.
|
class |
ContentNode
HTML text token.
|
class |
TagNode
XML node tag - basic node of the cleaned HTML tree.
|
Modifier and Type | Method and Description |
---|---|
int |
TagNode.getChildIndex(HtmlNode child) |
void |
TagNode.insertChild(int index,
HtmlNode childToAdd)
Inserts specified node at specified position in array of children
|
void |
TagNode.insertChildAfter(HtmlNode node,
HtmlNode nodeToInsert)
Inserts specified node in the list of children after specified child
|
void |
TagNode.insertChildBefore(HtmlNode node,
HtmlNode nodeToInsert)
Inserts specified node in the list of children before specified child
|
void |
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
|
Copyright © 2006–2016. All rights reserved.