public class ResourceSimplifierStep extends BasePipelineStep
For text units, the step removes the skeleton of a text unit, creating document parts for the skeleton parts before and after the content placeholder, and removes the remaining tu skeleton as holding the content placeholder as its only part.
| Constructor and Description |
|---|
ResourceSimplifierStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getName()
Gets the localizable name of this step.
|
Event |
handleEvent(Event event)
Processes each event sent though the pipeline.
|
void |
setOutputEncoding(String outputEncoding) |
void |
setTargetLocale(LocaleId targetLocale) |
void |
setTargetLocales(List<LocaleId> targetLocales) |
cancel, destroy, getHelpLocation, getParameters, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputStep, setParameters, setSourceLocalepublic String getDescription()
IPipelineSteppublic String getName()
IPipelineSteppublic void setTargetLocale(LocaleId targetLocale)
setTargetLocale in interface IPipelineStepsetTargetLocale in class BasePipelineSteppublic void setOutputEncoding(String outputEncoding)
public Event handleEvent(Event event)
IPipelineStephandleEvent in interface IPipelineStephandleEvent in class BasePipelineStepevent - the event to process.Copyright © 2021. All rights reserved.