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.lexer |
The lexer package is the base level I/O subsystem.
|
org.htmlparser.nodes |
The nodes package has the concrete node implementations.
|
org.htmlparser.tags |
The tags package contains specific tags.
|
org.htmlparser.visitors |
The visitors package contains classes that use the Visitor pattern.
|
Modifier and Type | Field and Description |
---|---|
protected Text |
PrototypicalNodeFactory.mText
The prototypical text node.
|
Modifier and Type | Method and Description |
---|---|
Text |
PrototypicalNodeFactory.createStringNode(Page page,
int start,
int end)
Create a new string node.
|
Text |
NodeFactory.createStringNode(Page page,
int start,
int end)
Create a new text node.
|
Text |
PrototypicalNodeFactory.getTextPrototype()
Get the object that is cloned to generate text nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
PrototypicalNodeFactory.setTextPrototype(Text text)
Set the object to be used to generate text nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
StringBean.visitStringNode(Text string)
Appends the text to the output.
|
Modifier and Type | Method and Description |
---|---|
Text |
Lexer.createStringNode(Page page,
int start,
int end)
Create a new string node.
|
Modifier and Type | Class and Description |
---|---|
class |
TextNode
Normal text in the HTML document is represented by this class.
|
Modifier and Type | Method and Description |
---|---|
Text[] |
CompositeTag.digupStringNode(java.lang.String searchText)
Finds a text node, however embedded it might be, and returns
it.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeVisitor.visitStringNode(Text string)
Called for each
StringNode visited. |
void |
UrlModifyingVisitor.visitStringNode(Text stringNode) |
void |
TextExtractingVisitor.visitStringNode(Text stringNode) |
void |
StringFindingVisitor.visitStringNode(Text stringNode) |
HTML Parser is an open source library released under LGPL.