- <init>
Construct a parser using the provided lexer and feedback object. This would be
used to create a pars
- parse
Parse the given resource, using the filter provided. This can be used to extract
information from sp
- visitAllNodesWith
Apply the given visitor to the current page. The visitor is passed to the
accept() method of each n
- createParser
Creates the parser on an input string.
- extractAllNodesThatMatch
Extract all nodes matching the given filter.
- setNodeFactory
Set the current node factory.
- setLexer
Set the lexer for this parser. The current NodeFactory is transferred to (set
on) the given lexer, s
- elements
Returns an iterator (enumeration) over the html nodes. org.htmlparser.nodes can
be of three main typ
- reset
Reset the parser to start from the beginning again. This assumes support for a
reset from the underl
- getConnection
Return the current connection.
- setURL
Set the URL for this parser. This method creates a new Lexer reading from the
given URL. Trying to s
- getConnectionManager
Get the connection manager all Parsers use.