|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.operation.BaseOperation<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
cascading.operation.xml.XPathOperation
public class XPathOperation
Class XPathOperation is the base class for all XPath operations.
Field Summary | |
---|---|
static java.lang.String[][] |
NAMESPACE_XHTML
Field NAMESPACE_XHTML |
protected java.lang.String[][] |
namespaces
Field namespaces |
protected java.lang.String[] |
paths
Field paths |
Fields inherited from class cascading.operation.BaseOperation |
---|
fieldDeclaration, numArgs, trace |
Fields inherited from interface cascading.operation.Operation |
---|
ANY |
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class cascading.operation.BaseOperation |
---|
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[][] NAMESPACE_XHTML
protected final java.lang.String[][] namespaces
protected final java.lang.String[] paths
Constructor Detail |
---|
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)
Method Detail |
---|
public void prepare(FlowProcess flowProcess, OperationCall<Pair<javax.xml.parsers.DocumentBuilder,Tuple>> operationCall)
BaseOperation
prepare
in interface Operation<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
prepare
in class BaseOperation<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
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>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |