Package | Description |
---|---|
org.htmlparser |
The basic API classes which will be used by most developers when working with
the HTML Parser.
|
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.
|
Modifier and Type | Field and Description |
---|---|
static ParserFeedback |
Parser.DEVNULL
A quiet message sink.
|
protected ParserFeedback |
Parser.mFeedback
Feedback object.
|
static ParserFeedback |
Parser.STDOUT
A verbose message sink.
|
Modifier and Type | Method and Description |
---|---|
ParserFeedback |
Parser.getFeedback()
Returns the current feedback object.
|
Modifier and Type | Method and Description |
---|---|
void |
Parser.setFeedback(ParserFeedback fb)
Sets the feedback object used in scanning.
|
Constructor and Description |
---|
Parser(Lexer lexer,
ParserFeedback fb)
Construct a parser using the provided lexer and feedback object.
|
Parser(java.lang.String resourceLocn,
ParserFeedback feedback)
Creates a Parser object with the location of the resource (URL or file)
You would typically create a DefaultHTMLParserFeedback object and pass
it in.
|
Parser(java.net.URLConnection connection,
ParserFeedback fb)
Constructor for custom HTTP access.
|
Modifier and Type | Class and Description |
---|---|
class |
Feedback
Mediates between the feedback mechanism of the htmlparser and an error handler.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultParserFeedback
Default implementation of the HTMLParserFeedback interface.
|
Modifier and Type | Field and Description |
---|---|
protected static ParserFeedback |
FeedbackManager.callback |
Modifier and Type | Method and Description |
---|---|
static void |
FeedbackManager.setParserFeedback(ParserFeedback feedback) |
Constructor and Description |
---|
IteratorImpl(Lexer lexer,
ParserFeedback fb) |
HTML Parser is an open source library released under LGPL.