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.parserapplications |
Example applications.
|
org.htmlparser.parserapplications.filterbuilder | |
org.htmlparser.parserapplications.filterbuilder.wrappers | |
org.htmlparser.sax |
The sax package implements a SAX (Simple API for XML) parser for HTML.
|
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 and Description |
---|---|
static Parser |
Parser.createParser(java.lang.String html,
java.lang.String charset)
Creates the parser on an input string.
|
Modifier and Type | Field and Description |
---|---|
protected Parser |
StringBean.mParser
The parser used to extract strings.
|
protected Parser |
LinkBean.mParser
The parser used to extract strings.
|
protected Parser |
FilterBean.mParser
The parser used to filter.
|
Modifier and Type | Method and Description |
---|---|
Parser |
FilterBean.getParser()
Get the parser used to fetch nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterBean.setParser(Parser parser)
Set the parser for the bean.
|
Modifier and Type | Field and Description |
---|---|
protected Parser |
SiteCapturer.mParser
The parser to use for processing.
|
Modifier and Type | Method and Description |
---|---|
static Filter[] |
Filter.reconstitute(java.lang.String string,
Parser context)
Returns the filters represented by the string.
|
abstract void |
Filter.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
static Filter |
Filter.wrap(NodeFilter filter,
Parser context)
Returns a wrapped filter.
|
Modifier and Type | Method and Description |
---|---|
void |
HasChildFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
TagNameFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
HasAttributeFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
NotFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
StringFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
HasParentFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
AndFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
RegexFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
NodeClassFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
HasSiblingFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
OrFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
Modifier and Type | Field and Description |
---|---|
protected Parser |
XMLReader.mParser
The underlying DOM parser.
|
protected Parser |
Locator.mParser
Underlying parser object.
|
Constructor and Description |
---|
Locator(Parser parser)
Creates a locator for the given parser.
|
Modifier and Type | Method and Description |
---|---|
static Parser |
ParserUtils.createParserParsingAnInputString(java.lang.String input)
Create a Parser Object having a String Object as input (instead of a url or a string representing the url location).
|
Constructor and Description |
---|
HtmlPage(Parser parser) |
HTML Parser is an open source library released under LGPL.