cascading.operation.xml
Class XPathOperation
java.lang.Object
cascading.operation.BaseOperation<Pair<DocumentBuilder,Tuple>>
cascading.operation.xml.XPathOperation
- All Implemented Interfaces:
- DeclaresResults, Operation<Pair<DocumentBuilder,Tuple>>, Traceable, Serializable
- Direct Known Subclasses:
- XPathFilter, XPathGenerator, XPathParser
public class XPathOperation
- extends BaseOperation<Pair<DocumentBuilder,Tuple>>
Class XPathOperation is the base class for all XPath operations.
- See Also:
- Serialized Form
Fields inherited from interface cascading.operation.Operation |
ANY |
NAMESPACE_XHTML
public static final String[][] NAMESPACE_XHTML
- Field NAMESPACE_XHTML
namespaces
protected final String[][] namespaces
- Field namespaces
paths
protected final String[] paths
- Field paths
XPathOperation
protected XPathOperation(int numArgs,
Fields fieldDeclaration,
String[][] namespaces,
String... paths)
XPathOperation
protected XPathOperation(int numArgs,
String[][] namespaces,
String... paths)
prepare
public void prepare(FlowProcess flowProcess,
OperationCall<Pair<DocumentBuilder,Tuple>> operationCall)
- Specified by:
prepare
in interface Operation<Pair<DocumentBuilder,Tuple>>
- Overrides:
prepare
in class BaseOperation<Pair<DocumentBuilder,Tuple>>
getXPath
public XPath getXPath()
- Method getXPath returns the XPath of this XPathOperation object.
- Returns:
- the XPath (type XPath) of this XPathOperation object.
getTransformer
public Transformer getTransformer()
throws TransformerConfigurationException
- Method getTransformer returns the transformer of this XPathOperation object.
- Returns:
- the transformer (type Transformer) of this XPathOperation object.
- Throws:
TransformerConfigurationException
- when
writeAsXML
protected String writeAsXML(Node node)
getExpressions
protected List<XPathExpression> getExpressions()
parseDocument
protected Document parseDocument(DocumentBuilder documentBuilder,
String argument)
equals
public boolean equals(Object object)
- Overrides:
equals
in class BaseOperation<Pair<DocumentBuilder,Tuple>>
hashCode
public int hashCode()
- Overrides:
hashCode
in class BaseOperation<Pair<DocumentBuilder,Tuple>>
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.