public interface Extractor extends OXPathCache
Modifier and Type | Method and Description |
---|---|
void |
endExtraction()
Signals end of extraction
|
Integer |
extractNode(DOMNode context,
String label,
Integer parent)
Allows the extraction of the node specified by the pair (context,label) and returns a unique identifier
(as an
int ) that uniquely identifies this extraction marker. |
Integer |
extractNode(DOMNode context,
String label,
Integer parent,
String value)
Allows the extraction of the node specified by the pair (context,label) and returns a unique identifier
(as an
int ) that uniquely identifies this extraction marker. |
clear
Integer extractNode(DOMNode context, String label, Integer parent) throws OXPathException
int
) that uniquely identifies this extraction marker. May be a previously occurring identifier if
the (context,label) has already been extracted (via a call to this method with this object).context
- the context node in this labellabel
- the label of this node in the extraction markerparent
- the parent of the extraction node specified by (context,label)OXPathException
- in case the parent of this node is inconsistent with a recurring node (one already created with a
previous call to this method)Integer extractNode(DOMNode context, String label, Integer parent, String value) throws OXPathException
int
) that uniquely identifies this extraction marker. May be a previously occurring identifier if
the (context,label) has already been extracted (via a call to this method with this object).context
- the context node in this labellabel
- the label of this node in the extraction markerparent
- the parent of the extraction node specified by (context,label)value
- the value associated with this extraction nodeOXPathException
- in case the parent of this node is inconsistent with a recurring node (one already created with a
previous call to this method)void endExtraction() throws OXPathException
OXPathException
Copyright © 2020 OXPath Team. All rights reserved.