限定符和类型 | 方法和说明 |
---|---|
static Parser |
Parser.createParser(java.lang.String html,
java.lang.String charset)
Creates the parser on an input string.
|
限定符和类型 | 方法和说明 |
---|---|
Parser |
FilterBean.getParser()
Get the parser used to fetch nodes.
|
限定符和类型 | 方法和说明 |
---|---|
void |
FilterBean.setParser(Parser parser)
Set the parser for the bean.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
TagNameFilterWrapper.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 |
RegexFilterWrapper.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.
|
void |
NotFilterWrapper.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 |
HasParentFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
void |
HasChildFilterWrapper.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 |
AndFilterWrapper.setNodeFilter(NodeFilter filter,
Parser context)
Assign the underlying node filter for this wrapper.
|
构造器和说明 |
---|
Locator(Parser parser)
Creates a locator for the given parser.
|
限定符和类型 | 方法和说明 |
---|---|
Parser |
ParserTestCase.getParser() |
限定符和类型 | 方法和说明 |
---|---|
int |
FunctionalTests.countImageTagsWithoutHTMLParser(Parser parser) |
int |
FunctionalTests.findImageTagCount(Parser parser) |
void |
ParserTestCase.setParser(Parser parser) |
限定符和类型 | 方法和说明 |
---|---|
static Parser |
ParserUtils.createParserParsingAnInputString(java.lang.String input) |
构造器和说明 |
---|
HtmlPage(Parser parser) |