public class XPathOperation extends BaseOperation<Pair<DocumentBuilder,Tuple>>
Modifier and Type | Field and Description |
---|---|
static String[][] |
NAMESPACE_XHTML
Field NAMESPACE_XHTML
|
protected String[][] |
namespaces
Field namespaces
|
protected String[] |
paths
Field paths
|
fieldDeclaration, numArgs, trace
Modifier | Constructor and Description |
---|---|
protected |
XPathOperation(int numArgs,
Fields fieldDeclaration,
String[][] namespaces,
String... paths) |
protected |
XPathOperation(int numArgs,
String[][] namespaces,
String... paths) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
protected List<XPathExpression> |
getExpressions() |
Transformer |
getTransformer()
Method getTransformer returns the transformer of this XPathOperation object.
|
XPath |
getXPath()
Method getXPath returns the XPath of this XPathOperation object.
|
int |
hashCode() |
protected Document |
parseDocument(DocumentBuilder documentBuilder,
String argument) |
void |
prepare(FlowProcess flowProcess,
OperationCall<Pair<DocumentBuilder,Tuple>> operationCall) |
protected String |
writeAsXML(Node node) |
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal
public static final String[][] NAMESPACE_XHTML
protected final String[][] namespaces
protected XPathOperation(int numArgs, Fields fieldDeclaration, String[][] namespaces, String... paths)
protected XPathOperation(int numArgs, String[][] namespaces, String... paths)
public void prepare(FlowProcess flowProcess, OperationCall<Pair<DocumentBuilder,Tuple>> operationCall)
prepare
in interface Operation<Pair<DocumentBuilder,Tuple>>
prepare
in class BaseOperation<Pair<DocumentBuilder,Tuple>>
public XPath getXPath()
public Transformer getTransformer() throws TransformerConfigurationException
TransformerConfigurationException
- whenprotected String writeAsXML(Node node)
protected List<XPathExpression> getExpressions()
protected Document parseDocument(DocumentBuilder documentBuilder, String argument)
public boolean equals(Object object)
equals
in class BaseOperation<Pair<DocumentBuilder,Tuple>>
public int hashCode()
hashCode
in class BaseOperation<Pair<DocumentBuilder,Tuple>>
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.