程序包 | 说明 |
---|---|
org.htmlparser | |
org.htmlparser.beans | |
org.htmlparser.lexer | |
org.htmlparser.nodes | |
org.htmlparser.tags | |
org.htmlparser.visitors |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
PrototypicalNodeFactory.setTextPrototype(Text text)
Set the object to be used to generate text nodes.
|
限定符和类型 | 方法和说明 |
---|---|
void |
StringBean.visitStringNode(Text string)
Appends the text to the output.
|
限定符和类型 | 方法和说明 |
---|---|
Text |
Lexer.createStringNode(Page page,
int start,
int end)
Create a new string node.
|
限定符和类型 | 类和说明 |
---|---|
class |
TextNode
Normal text in the HTML document is represented by this class.
|
限定符和类型 | 方法和说明 |
---|---|
Text[] |
CompositeTag.digupStringNode(java.lang.String searchText)
Finds a text node, however embedded it might be, and returns
it.
|
限定符和类型 | 方法和说明 |
---|---|
void |
UrlModifyingVisitor.visitStringNode(Text stringNode) |
void |
TextExtractingVisitor.visitStringNode(Text stringNode) |
void |
StringFindingVisitor.visitStringNode(Text stringNode) |
void |
NodeVisitor.visitStringNode(Text string)
Called for each
StringNode visited. |