|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.operation.BaseOperation<DocumentBuilder> cascading.operation.xml.XPathOperation
public class XPathOperation
Class XPathOperation is the base class for all XPath operations.
Field Summary | |
---|---|
static String[][] |
NAMESPACE_XHTML
Field NAMESPACE_XHTML |
protected String[][] |
namespaces
Field namespaces |
protected 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,
String[][] namespaces,
String... paths)
|
protected |
XPathOperation(int numArgs,
String[][] namespaces,
String... paths)
|
Method Summary | |
---|---|
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<DocumentBuilder> operationCall)
Method prepare does nothing, and may safely be overridden. |
protected String |
writeAsXML(Node node)
|
Methods inherited from class cascading.operation.BaseOperation |
---|
cleanup, 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 String[][] NAMESPACE_XHTML
protected final String[][] namespaces
protected final String[] paths
Constructor Detail |
---|
protected XPathOperation(int numArgs, Fields fieldDeclaration, String[][] namespaces, String... paths)
protected XPathOperation(int numArgs, String[][] namespaces, String... paths)
Method Detail |
---|
public void prepare(FlowProcess flowProcess, OperationCall<DocumentBuilder> operationCall)
BaseOperation
prepare
in interface Operation<DocumentBuilder>
prepare
in class BaseOperation<DocumentBuilder>
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<DocumentBuilder>
public int hashCode()
hashCode
in class BaseOperation<DocumentBuilder>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |