public class XPathOperation extends BaseOperation<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
Modifier and Type | Field and Description |
---|---|
static java.lang.String[][] |
NAMESPACE_XHTML
Field NAMESPACE_XHTML
|
protected java.lang.String[][] |
namespaces
Field namespaces
|
protected java.lang.String[] |
paths
Field paths
|
fieldDeclaration, numArgs, trace
Modifier | Constructor and Description |
---|---|
protected |
XPathOperation(int numArgs,
Fields fieldDeclaration,
java.lang.String[][] namespaces,
java.lang.String... paths) |
protected |
XPathOperation(int numArgs,
java.lang.String[][] namespaces,
java.lang.String... paths) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
protected java.util.List<javax.xml.xpath.XPathExpression> |
getExpressions() |
javax.xml.transform.Transformer |
getTransformer()
Method getTransformer returns the transformer of this XPathOperation object.
|
javax.xml.xpath.XPath |
getXPath()
Method getXPath returns the XPath of this XPathOperation object.
|
int |
hashCode() |
protected org.w3c.dom.Document |
parseDocument(javax.xml.parsers.DocumentBuilder documentBuilder,
java.lang.String argument) |
void |
prepare(FlowProcess flowProcess,
OperationCall<Pair<javax.xml.parsers.DocumentBuilder,Tuple>> operationCall)
Method prepare does nothing, and may safely be overridden.
|
protected java.lang.String |
writeAsXML(org.w3c.dom.Node node) |
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal
public static final java.lang.String[][] NAMESPACE_XHTML
protected final java.lang.String[][] namespaces
protected final java.lang.String[] paths
protected XPathOperation(int numArgs, Fields fieldDeclaration, java.lang.String[][] namespaces, java.lang.String... paths)
protected XPathOperation(int numArgs, java.lang.String[][] namespaces, java.lang.String... paths)
public void prepare(FlowProcess flowProcess, OperationCall<Pair<javax.xml.parsers.DocumentBuilder,Tuple>> operationCall)
BaseOperation
public javax.xml.xpath.XPath getXPath()
public javax.xml.transform.Transformer getTransformer() throws javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerConfigurationException
- whenprotected java.lang.String writeAsXML(org.w3c.dom.Node node)
protected java.util.List<javax.xml.xpath.XPathExpression> getExpressions()
protected org.w3c.dom.Document parseDocument(javax.xml.parsers.DocumentBuilder documentBuilder, java.lang.String argument)
public boolean equals(java.lang.Object object)
equals
in class BaseOperation<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
public int hashCode()
hashCode
in class BaseOperation<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>