Package | Description |
---|---|
org.jsoup.parser |
Contains the HTML parser, tag specifications, and HTML tokeniser.
|
Modifier and Type | Class and Description |
---|---|
class |
HtmlTreeBuilder
HTML Tree Builder; creates a DOM from Tokens.
|
class |
XmlTreeBuilder
Use the
XmlTreeBuilder when you want to parse XML without any of the HTML DOM rules being applied to the
document. |
Modifier and Type | Field and Description |
---|---|
private TreeBuilder |
Parser.treeBuilder |
Modifier and Type | Method and Description |
---|---|
TreeBuilder |
Parser.getTreeBuilder()
Get the TreeBuilder currently in use.
|
Modifier and Type | Method and Description |
---|---|
Parser |
Parser.setTreeBuilder(TreeBuilder treeBuilder)
Update the TreeBuilder used when parsing content.
|
Constructor and Description |
---|
Parser(TreeBuilder treeBuilder)
Create a new Parser, using the specified TreeBuilder
|