public interface Extractor extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
extract(String expression,
String attribute,
int matchNumber,
String inputString,
List<String> result,
int found,
String cacheKey) |
int extract(String expression, String attribute, int matchNumber, String inputString, List<String> result, int found, String cacheKey)
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 keyCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.