Uses of Class
org.htmlparser.lexer.Lexer
-
Packages that use Lexer Package Description org.htmlparser The basic API classes which will be used by most developers when working with the HTML Parser.org.htmlparser.lexerapplications.thumbelina Extract the images behind thumbnail images.org.htmlparser.scanners The scanners package contains classes responsible for the tertiary identification of tags.org.htmlparser.util Code which can be reused by many classes, is located in this package. -
-
Uses of Lexer in org.htmlparser
Fields in org.htmlparser declared as Lexer Modifier and Type Field Description protected Lexer
Parser. mLexer
The html lexer associated with this parser.Methods in org.htmlparser that return Lexer Modifier and Type Method Description Lexer
Parser. getLexer()
Returns the lexer associated with the parser.Methods in org.htmlparser with parameters of type Lexer Modifier and Type Method Description void
Parser. setLexer(Lexer lexer)
Set the lexer for this parser.Constructors in org.htmlparser with parameters of type Lexer Constructor Description Parser(Lexer lexer)
Construct a parser using the provided lexer.Parser(Lexer lexer, ParserFeedback fb)
Construct a parser using the provided lexer and feedback object. -
Uses of Lexer in org.htmlparser.lexerapplications.thumbelina
Methods in org.htmlparser.lexerapplications.thumbelina with parameters of type Lexer Modifier and Type Method Description protected java.net.URL[][]
Thumbelina. extractImageLinks(Lexer lexer, java.net.URL docbase)
Get the links of an element of a document. -
Uses of Lexer in org.htmlparser.scanners
Methods in org.htmlparser.scanners with parameters of type Lexer Modifier and Type Method Description protected Tag
CompositeTagScanner. createVirtualEndTag(Tag tag, Lexer lexer, Page page, int position)
Creates an end tag with the same name as the given tag.protected void
CompositeTagScanner. finishTag(Tag tag, Lexer lexer)
Finish off a tag.Tag
CompositeTagScanner. scan(Tag tag, Lexer lexer, NodeList stack)
Collect the children.Tag
Scanner. scan(Tag tag, Lexer lexer, NodeList stack)
Scan the tag.Tag
ScriptScanner. scan(Tag tag, Lexer lexer, NodeList stack)
Scan for script.Tag
StyleScanner. scan(Tag tag, Lexer lexer, NodeList stack)
Scan for style definitions.Tag
TagScanner. scan(Tag tag, Lexer lexer, NodeList stack)
Scan the tag. -
Uses of Lexer in org.htmlparser.util
Constructors in org.htmlparser.util with parameters of type Lexer Constructor Description IteratorImpl(Lexer lexer, ParserFeedback fb)
-