public class XPathParser extends XPathOperation implements Function<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
XPathGenerator
to handle multiple NodeList values.NAMESPACE_XHTML, namespaces, paths
fieldDeclaration, numArgs, trace
Constructor and Description |
---|
XPathParser(Fields fieldDeclaration,
java.lang.String... paths)
Constructor XPathParser creates a new XPathParser instance.
|
XPathParser(Fields fieldDeclaration,
java.lang.String[][] namespaces,
java.lang.String... paths)
Constructor XPathParser creates a new XPathParser instance.
|
Modifier and Type | Method and Description |
---|---|
void |
operate(FlowProcess flowProcess,
FunctionCall<Pair<javax.xml.parsers.DocumentBuilder,Tuple>> functionCall)
Method operate provides the implementation of this Function.
|
equals, getExpressions, getTransformer, getXPath, hashCode, parseDocument, prepare, writeAsXML
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cleanup, flush, getFieldDeclaration, getNumArgs, isSafe, prepare
public XPathParser(Fields fieldDeclaration, java.lang.String[][] namespaces, java.lang.String... paths)
fieldDeclaration
- of type Fieldsnamespaces
- of type String[][]paths
- of type String...public XPathParser(Fields fieldDeclaration, java.lang.String... paths)
fieldDeclaration
- of type Fieldspaths
- of type String...public void operate(FlowProcess flowProcess, FunctionCall<Pair<javax.xml.parsers.DocumentBuilder,Tuple>> functionCall)
Function