public class WhitespaceCorrectionStep extends BasePipelineStep
| Modifier and Type | Field and Description |
|---|---|
protected LocaleId |
sourceLocale |
protected LocaleId |
targetLocale |
| Constructor and Description |
|---|
WhitespaceCorrectionStep() |
| 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.
|
WhitespaceCorrectionStepParameters |
getParameters()
Gets the current parameters for this step.
|
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
void |
setSourceLocale(LocaleId sourceLocale)
Delegate to concrete class
|
void |
setTargetLocale(LocaleId targetLocale) |
cancel, destroy, getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStepprotected LocaleId sourceLocale
protected LocaleId targetLocale
public String getName()
IPipelineSteppublic String getDescription()
IPipelineSteppublic WhitespaceCorrectionStepParameters getParameters()
IPipelineStepgetParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepsetParameters in class BasePipelineStepparams - the new parameters to use.public void setSourceLocale(LocaleId sourceLocale)
IPipelineStepsetSourceLocale in interface IPipelineStepsetSourceLocale in class BasePipelineSteppublic void setTargetLocale(LocaleId targetLocale)
setTargetLocale in interface IPipelineStepsetTargetLocale in class BasePipelineStepprotected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepevent - event to handle.Copyright © 2022. All rights reserved.