SMILA (incubation) API documentation

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

java.lang.Object
  extended by org.eclipse.smila.processing.pipelets.ATransformationPipelet
      extended by org.eclipse.smila.processing.pipelets.xmlprocessing.AXmlTransformationPipelet
All Implemented Interfaces:
Pipelet
Direct Known Subclasses:
RemoveElementFromXMLPipelet, TidyPipelet, XPathExtractorPipelet, XPathFilterPipelet, XslTransformationPipelet

public abstract class AXmlTransformationPipelet
extends ATransformationPipelet

Abstract base class for XML processing pipelets.


Field Summary
 
Fields inherited from class org.eclipse.smila.processing.pipelets.ATransformationPipelet
_inputName, _inputType, _log, _outputName, _outputType, ENCODING_ATTACHMENT, PROP_INPUT_NAME, PROP_INPUT_TYPE, PROP_OUTPUT_NAME, PROP_OUTPUT_TYPE
 
Constructor Summary
AXmlTransformationPipelet()
           
 
Method Summary
protected  org.w3c.dom.Document createDocument(Blackboard blackboard, java.lang.String id)
          Creates a Document from an Attribute or Attachment.
protected  void storeDocument(Blackboard blackboard, java.lang.String id, org.w3c.dom.Document doc)
          Stores a Document in an Attribute or Attachment.
 
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
 
Methods inherited from interface org.eclipse.smila.processing.Pipelet
process
 

Constructor Detail

AXmlTransformationPipelet

public AXmlTransformationPipelet()
Method Detail

createDocument

protected org.w3c.dom.Document createDocument(Blackboard blackboard,
                                              java.lang.String id)
                                       throws java.lang.Exception
Creates a Document from an Attribute or Attachment.

Parameters:
blackboard - the Blackboard
id - the Id of the record
Returns:
a Document
Throws:
java.lang.Exception - if any error occurs

storeDocument

protected void storeDocument(Blackboard blackboard,
                             java.lang.String id,
                             org.w3c.dom.Document doc)
                      throws java.lang.Exception
Stores a Document in an Attribute or Attachment.

Parameters:
blackboard - the Blackboard
id - the Id of the record
doc - the Document to save
Throws:
java.lang.Exception - if any error occurs

SMILA (incubation) API documentation