public class DiffLeverageStep extends BasePipelineStep
Annotations:
AltTranslationsAnnotation on the target container.
DiffMatchAnnotation on the target container (only applied if diffOnly is true)| Constructor and Description |
|---|
DiffLeverageStep() |
| 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.
|
Parameters |
getParameters()
Gets the current parameters for this step.
|
protected Event |
handleDocumentPart(Event event)
Handles the
EventType.DOCUMENT_PART event. |
protected Event |
handleEndBatch(Event event)
Handles the
EventType.END_BATCH event. |
protected Event |
handleEndDocument(Event event)
Handles the
EventType.END_DOCUMENT event. |
protected Event |
handleEndGroup(Event event)
Handles the
EventType.END_GROUP event. |
protected Event |
handleEndSubDocument(Event event)
Handles the
EventType.END_SUBDOCUMENT event. |
protected Event |
handleRawDocument(Event event)
Handles the
EventType.RAW_DOCUMENT event. |
protected Event |
handleStartBatch(Event event)
Handles the
EventType.START_BATCH event. |
protected Event |
handleStartDocument(Event event)
Handles the
EventType.START_DOCUMENT event. |
protected Event |
handleStartGroup(Event event)
Handles the
EventType.START_GROUP event. |
protected Event |
handleStartSubDocument(Event event)
Handles the
EventType.START_SUBDOCUMENT event. |
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
boolean |
isDone()
Steps that can generate
Events such as IFilters return
false until no more events can be created. |
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper) |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
void |
setSecondInput(RawDocument secondInput)
This is the old document (previously translated)
|
void |
setSourceLocale(LocaleId sourceLocale) |
void |
setTargetLocale(LocaleId targetLocale)
Target locale.
|
void |
setTertiaryInput(RawDocument tertiaryInput)
If set this is the old target that will be paragraph aligned with the old source.
|
cancel, destroy, getHelpLocation, handleCustom, handleEndBatchItem, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleStartBatchItem, handleStartSubfilter, isLastOutputStep, setLastOutputSteppublic void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
fcMapper - public void setSourceLocale(LocaleId sourceLocale)
sourceLocale - public void setTargetLocale(LocaleId targetLocale)
targetLocale - public void setSecondInput(RawDocument secondInput)
secondInput - public void setTertiaryInput(RawDocument tertiaryInput)
tertiaryInput - public String getDescription()
IPipelineSteppublic String getName()
IPipelineSteppublic Parameters getParameters()
IPipelineStepgetParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepsetParameters in class BasePipelineStepparams - the new parameters to use.protected Event handleStartBatch(Event event)
BasePipelineStepEventType.START_BATCH event.handleStartBatch in class BasePipelineStepevent - event to handle.protected Event handleEndBatch(Event event)
BasePipelineStepEventType.END_BATCH event.handleEndBatch in class BasePipelineStepevent - event to handle.protected Event handleRawDocument(Event event)
BasePipelineStepEventType.RAW_DOCUMENT event.handleRawDocument in class BasePipelineStepevent - event to handle.protected Event handleStartDocument(Event event)
BasePipelineStepEventType.START_DOCUMENT event.handleStartDocument in class BasePipelineStepevent - event to handle.protected Event handleEndDocument(Event event)
BasePipelineStepEventType.END_DOCUMENT event.handleEndDocument in class BasePipelineStepevent - event to handle.protected Event handleStartSubDocument(Event event)
BasePipelineStepEventType.START_SUBDOCUMENT event.handleStartSubDocument in class BasePipelineStepevent - event to handle.protected Event handleEndSubDocument(Event event)
BasePipelineStepEventType.END_SUBDOCUMENT event.handleEndSubDocument in class BasePipelineStepevent - event to handle.protected Event handleStartGroup(Event event)
BasePipelineStepEventType.START_GROUP event.handleStartGroup in class BasePipelineStepevent - event to handle.protected Event handleEndGroup(Event event)
BasePipelineStepEventType.END_GROUP event.handleEndGroup in class BasePipelineStepevent - event to handle.protected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepevent - event to handle.protected Event handleDocumentPart(Event event)
BasePipelineStepEventType.DOCUMENT_PART event.handleDocumentPart in class BasePipelineStepevent - event to handle.public boolean isDone()
IPipelineStepEvents such as IFilters return
false until no more events can be created.
Steps which do not create Events always return true.isDone in interface IPipelineStepisDone in class BasePipelineStepCopyright © 2021. All rights reserved.