cascading.operation.xml
Class XPathGenerator
java.lang.Object
cascading.operation.BaseOperation<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
cascading.operation.xml.XPathOperation
cascading.operation.xml.XPathGenerator
- All Implemented Interfaces:
- Function<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>, Operation<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>, java.io.Serializable
public class XPathGenerator
- extends XPathOperation
- implements Function<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
XPathGenerator is a Generator function that will emit a new Tuple for every Node returned by
the given XPath expression.
- See Also:
- Serialized Form
Fields inherited from interface cascading.operation.Operation |
ANY |
Constructor Summary |
XPathGenerator(Fields fieldDeclaration,
java.lang.String[][] namespaces,
java.lang.String... paths)
Constructor XPathGenerator creates a new XPathGenerator instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
XPathGenerator
public XPathGenerator(Fields fieldDeclaration,
java.lang.String[][] namespaces,
java.lang.String... paths)
- Constructor XPathGenerator creates a new XPathGenerator instance.
- Parameters:
fieldDeclaration
- of type Fieldsnamespaces
- of type String[][]paths
- of type String...
operate
public void operate(FlowProcess flowProcess,
FunctionCall<Pair<javax.xml.parsers.DocumentBuilder,Tuple>> functionCall)
- Description copied from interface:
Function
- Method operate provides the implementation of this Function.
- Specified by:
operate
in interface Function<Pair<javax.xml.parsers.DocumentBuilder,Tuple>>
- Parameters:
flowProcess
- of type FlowProcessfunctionCall
- of type FunctionCall
Copyright © 2007-2011 Concurrent, Inc. All Rights Reserved.