public class TuFilteringStep extends BasePipelineStep
| Constructor and Description |
|---|
TuFilteringStep() |
TuFilteringStep(ITextUnitFilter tuFilter) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getName() |
Parameters |
getParameters() |
protected Event |
handleStartBatch(Event event) |
protected Event |
handleTextUnit(Event event) |
protected Event |
processFiltered(Event tuEvent)
Process a given text unit event.
|
void |
setParameters(IParameters params) |
cancel, destroy, getHelpLocation, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputSteppublic TuFilteringStep()
public TuFilteringStep(ITextUnitFilter tuFilter)
public Parameters getParameters()
getParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
setParameters in interface IPipelineStepsetParameters in class BasePipelineSteppublic String getName()
public String getDescription()
protected Event processFiltered(Event tuEvent)
This method can be overridden in subclasses to change the way text unit events are processed if accepted.
If not overridden, clears the "translatable" flag of accepted text units, thus marking the text units non-translatable.
tuEvent - the text unit event which resource can be modified.protected Event handleStartBatch(Event event)
handleStartBatch in class BasePipelineStepprotected Event handleTextUnit(Event event)
handleTextUnit in class BasePipelineStepCopyright © 2021. All rights reserved.