|
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.TidyPipelet
public class TidyPipelet
Pipelet that performs an Tidy transformation on an attribute or attachment value. The possible properties are:
Field Summary | |
---|---|
static java.lang.String |
PROP_TIDY_FILE
The name of the tidy config file used for the transformation. |
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 | |
---|---|
TidyPipelet()
|
Method Summary | |
---|---|
void |
configure(AnyMap configuration)
set configuration of pipelet. |
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 |
---|
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 |
---|
public static final java.lang.String PROP_TIDY_FILE
Constructor Detail |
---|
public TidyPipelet()
Method Detail |
---|
public void configure(AnyMap configuration) throws ProcessingException
configure
in interface Pipelet
configure
in class ATransformationPipelet
configuration
- 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
AXmlTransformationPipelet
processRecord
in class AXmlTransformationPipelet
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
java.lang.Exception
|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |