Package | Description |
---|---|
org.htmlparser |
The basic API classes which will be used by most developers when working with
the HTML Parser.
|
org.htmlparser.beans |
The beans package contains Java Beans using the HTML Parser.
|
org.htmlparser.nodes |
The nodes package has the concrete node implementations.
|
org.htmlparser.tags |
The tags package contains specific tags.
|
org.htmlparser.util |
Code which can be reused by many classes, is located in this package.
|
org.htmlparser.visitors |
The visitors package contains classes that use the Visitor pattern.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Node.accept(NodeVisitor visitor) |
Apply the visitor to this node.
|
void |
Parser.visitAllNodesWith(NodeVisitor visitor) |
Apply the given visitor to the current page.
|
Modifier and Type | Class | Description |
---|---|---|
class |
StringBean |
Extract strings from a URL.
|
Modifier and Type | Method | Description |
---|---|---|
abstract void |
AbstractNode.accept(NodeVisitor visitor) |
Visit this node.
|
void |
RemarkNode.accept(NodeVisitor visitor) |
Remark visiting code.
|
void |
TagNode.accept(NodeVisitor visitor) |
Default tag visiting code.
|
void |
TextNode.accept(NodeVisitor visitor) |
String visiting code.
|
Modifier and Type | Method | Description |
---|---|---|
void |
CompositeTag.accept(NodeVisitor visitor) |
Tag visiting code.
|
Modifier and Type | Method | Description |
---|---|---|
void |
NodeList.visitAllNodesWith(NodeVisitor visitor) |
Utility to apply a visitor to a node list.
|
Modifier and Type | Class | Description |
---|---|---|
class |
HtmlPage |
|
class |
LinkFindingVisitor |
|
class |
ObjectFindingVisitor |
|
class |
StringFindingVisitor |
|
class |
TagFindingVisitor |
|
class |
TextExtractingVisitor |
Extracts text from a web page.
|
class |
UrlModifyingVisitor |
HTML Parser is an open source library released under LGPL.