public abstract class AXmlTransformationPipelet extends ATransformationPipelet
_config, _log, ENCODING_ATTACHMENT, PROP_INPUT_NAME, PROP_INPUT_TYPE, PROP_OUTPUT_NAME, PROP_OUTPUT_TYPE, PROP_OUTPUT_VALUE_TYPE| Constructor and Description |
|---|
AXmlTransformationPipelet() |
| Modifier and Type | Method and Description |
|---|---|
protected org.w3c.dom.Document |
createDocument(Blackboard blackboard,
java.lang.String id,
ParameterAccessor paramAccessor)
Creates a Document from an Attribute or Attachment.
|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records.
|
protected abstract void |
processRecord(Blackboard blackboard,
ParameterAccessor paramAccessor,
java.lang.String recordId)
Processing of a single input record.
|
protected void |
storeDocument(Blackboard blackboard,
java.lang.String id,
org.w3c.dom.Document doc,
ParameterAccessor paramAccessor)
Stores a Document in an Attribute or Attachment.
|
configure, getInputName, getInputStream, getInputType, getOutputName, getOutputType, getOutputValueType, isReadFromAttribute, isStoreInAttribute, readInput, readStringInput, storeResult, storeResult, storeResult, storeResultsprotected org.w3c.dom.Document createDocument(Blackboard blackboard, java.lang.String id, ParameterAccessor paramAccessor) throws java.lang.Exception
blackboard - the Blackboardid - the Id of the recordjava.lang.Exception - if any error occursprotected void storeDocument(Blackboard blackboard, java.lang.String id, org.w3c.dom.Document doc, ParameterAccessor paramAccessor) throws java.lang.Exception
blackboard - the Blackboardid - the Id of the recorddoc - the Document to savejava.lang.Exception - if any error occurspublic java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.ProcessingException - error during processing.protected abstract void processRecord(Blackboard blackboard, ParameterAccessor paramAccessor, java.lang.String recordId) throws java.lang.Exception
blackboard - Blackboard service managing the records.paramAccessor - Parameter accessor configured with pipelet configuration and current record. Should be used to access
pipelet parameters.recordId - id of the record to processjava.lang.Exception