SMILA 1.0 API documentation

org.eclipse.smila.processing.pipelets.xmlprocessing
Class RemoveElementFromXMLPipelet

java.lang.Object
  extended by org.eclipse.smila.processing.pipelets.ATransformationPipelet
      extended by org.eclipse.smila.processing.pipelets.xmlprocessing.AXmlTransformationPipelet
          extended by org.eclipse.smila.processing.pipelets.xmlprocessing.RemoveElementFromXMLPipelet
All Implemented Interfaces:
Pipelet

public class RemoveElementFromXMLPipelet
extends AXmlTransformationPipelet

Pipelet that removes a selected element from an XML document. The possible properties are:


Field Summary
static java.lang.String PROP_ELEMENT_ID
          Property for the Id of the XML element..
 
Fields inherited from class org.eclipse.smila.processing.pipelets.ATransformationPipelet
_config, _log, ENCODING_ATTACHMENT, PROP_INPUT_NAME, PROP_INPUT_TYPE, PROP_OUTPUT_NAME, PROP_OUTPUT_TYPE
 
Constructor Summary
RemoveElementFromXMLPipelet()
           
 
Method Summary
protected  void processRecord(Blackboard blackboard, ParameterAccessor paramAccessor, java.lang.String id)
          Processing of a single input record.
 
Methods inherited from class org.eclipse.smila.processing.pipelets.xmlprocessing.AXmlTransformationPipelet
createDocument, process, storeDocument
 
Methods inherited from class org.eclipse.smila.processing.pipelets.ATransformationPipelet
configure, getInputName, getInputType, getOutputName, 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

PROP_ELEMENT_ID

public static final java.lang.String PROP_ELEMENT_ID
Property for the Id of the XML element..

See Also:
Constant Field Values
Constructor Detail

RemoveElementFromXMLPipelet

public RemoveElementFromXMLPipelet()
Method Detail

processRecord

protected void processRecord(Blackboard blackboard,
                             ParameterAccessor paramAccessor,
                             java.lang.String id)
                      throws java.lang.Exception
Description copied from class: AXmlTransformationPipelet
Processing of a single input record.

Specified by:
processRecord in class AXmlTransformationPipelet
Parameters:
blackboard - Blackboard service managing the records.
paramAccessor - Parameter accessor configured with pipelet configuration and current record. Should be used to access pipelet parameters.
id - id of the record to process
Throws:
java.lang.Exception

SMILA 1.0 API documentation