public class JSoupExtractor extends Object implements Extractor
Constructor and Description |
---|
JSoupExtractor() |
Modifier and Type | Method and Description |
---|---|
int |
extract(String expression,
String attribute,
int matchNumber,
String inputString,
List<String> result,
int found,
String cacheKey) |
public int extract(String expression, String attribute, int matchNumber, String inputString, List<String> result, int found, String cacheKey)
extract
in interface Extractor
expression
- Expression used for extraction of nodesattribute
- Attribute name to returnmatchNumber
- Match numberinputString
- Page or excerptresult
- List of resultsfound
- current matches foundcacheKey
- If not null, the implementation is encouraged to cache parsing result and use this key as part of cache keyExtractor.extract(String, String, int, String, List, int, String)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.