public class TidyPipelet extends AXmlTransformationPipelet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_TIDY_FILE
The name of the tidy config file used for the transformation.
|
_config, _log, ENCODING_ATTACHMENT, PROP_INPUT_NAME, PROP_INPUT_TYPE, PROP_OUTPUT_NAME, PROP_OUTPUT_TYPE, PROP_OUTPUT_VALUE_TYPE| Constructor and Description |
|---|
TidyPipelet() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AnyMap configuration)
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow.
|
protected void |
processRecord(Blackboard blackboard,
ParameterAccessor paramAccessor,
java.lang.String id)
Processing of a single input record.
|
createDocument, process, storeDocumentgetInputName, getInputStream, getInputType, getOutputName, getOutputType, getOutputValueType, isReadFromAttribute, isStoreInAttribute, readInput, readStringInput, storeResult, storeResult, storeResult, storeResultspublic static final java.lang.String PROP_TIDY_FILE
public void configure(AnyMap configuration) throws ProcessingException
configure in interface Pipeletconfigure in class ATransformationPipeletconfiguration - configuration of pipelet.ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)protected void processRecord(Blackboard blackboard, ParameterAccessor paramAccessor, java.lang.String id) throws java.lang.Exception
AXmlTransformationPipeletprocessRecord in class AXmlTransformationPipeletblackboard - 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 processjava.lang.Exception