|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.processing.pipelets.ATransformationPipelet
org.eclipse.smila.processing.pipelets.xmlprocessing.AXmlTransformationPipelet
org.eclipse.smila.processing.pipelets.xmlprocessing.XPathFilterPipelet
public class XPathFilterPipelet
Pipelet that filters elements by XPath (either include or exclude mode). The possible properties are:
| Nested Class Summary | |
|---|---|
static class |
XPathFilterPipelet.XPathFilerMode
The XPathFilerMode, either include or exclude. |
| Field Summary | |
|---|---|
static java.lang.String |
PROP_FILTER_MODE
Property for the XPathFilerMode to execute. |
static java.lang.String |
PROP_NAMESPACE
The rootElement property. |
static java.lang.String |
PROP_ROOT_ELEMENT
The namespace property. |
static java.lang.String |
PROP_SEPERATOR
The seperator property. |
static java.lang.String |
PROP_XPATH
The name of the XSLT file used for the transformation. |
| Fields inherited from class org.eclipse.smila.processing.pipelets.ATransformationPipelet |
|---|
_inputName, _inputPath, _inputType, _log, _outputName, _outputPath, _outputType, ENCODING_ATTACHMENT, PROP_INPUT_NAME, PROP_INPUT_TYPE, PROP_OUTPUT_NAME, PROP_OUTPUT_TYPE |
| Constructor Summary | |
|---|---|
XPathFilterPipelet()
|
|
| Method Summary | |
|---|---|
void |
configure(PipeletConfiguration configuration)
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow. |
Id[] |
process(Blackboard blackboard,
Id[] recordIds)
process records on Blackboard service. |
| Methods inherited from class org.eclipse.smila.processing.pipelets.xmlprocessing.AXmlTransformationPipelet |
|---|
createDocument, storeDocument |
| Methods inherited from class org.eclipse.smila.processing.pipelets.ATransformationPipelet |
|---|
getInputName, getInputPath, getInputType, getOutputName, getOutputPath, getOutputType, isReadFromAttribute, isStoreInAttribute, readInput, readStringInput, storeResult, storeResult, storeResults |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROP_XPATH
public static final java.lang.String PROP_FILTER_MODE
public static final java.lang.String PROP_SEPERATOR
public static final java.lang.String PROP_NAMESPACE
public static final java.lang.String PROP_ROOT_ELEMENT
| Constructor Detail |
|---|
public XPathFilterPipelet()
| Method Detail |
|---|
public void configure(PipeletConfiguration configuration)
throws ProcessingException
configure in interface IPipeletconfigure in class ATransformationPipeletconfiguration - configuration of pipelet.
ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)#configure(org.eclipse.smila.processing.configuration.PipeletConfiguration)
public Id[] process(Blackboard blackboard,
Id[] recordIds)
throws ProcessingException
blackboard - Blackboard service managing the records.recordIds - Ids of records to process.
ProcessingException - error during processing.SimplePipelet.process(org.eclipse.smila.blackboard.Blackboard,
org.eclipse.smila.datamodel.id.Id[])
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||