public class XliffSplitterStep extends BasePipelineStep
RawDocument as input and sends the RawDocument
Event unaltered. Will output multiple split XLIFF files in the set output path.
An XLIFF file with only one file element is written out unaltered.| Constructor and Description |
|---|
XliffSplitterStep() |
| 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.
|
URI |
getOutputURI() |
XliffSplitterParameters |
getParameters()
Gets the current parameters for this step.
|
protected Event |
handleRawDocument(Event event)
Handles the
EventType.RAW_DOCUMENT event. |
protected Event |
handleStartBatch(Event event)
Handles the
EventType.START_BATCH event. |
protected Event |
handleStartBatchItem(Event event)
Handles the
EventType.START_BATCH_ITEM event. |
boolean |
isDone()
Steps that can generate
Events such as IFilters return
false until no more events can be created. |
void |
setOutputURI(URI outputURI) |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
cancel, destroy, getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isLastOutputStep, setLastOutputStep, setSourceLocale, setTargetLocalepublic void setOutputURI(URI outputURI)
public URI getOutputURI()
public String getDescription()
IPipelineSteppublic String getName()
IPipelineSteppublic XliffSplitterParameters 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 handleStartBatchItem(Event event)
BasePipelineStepEventType.START_BATCH_ITEM event.handleStartBatchItem 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 BasePipelineStepprotected Event handleRawDocument(Event event)
BasePipelineStepEventType.RAW_DOCUMENT event.handleRawDocument in class BasePipelineStepevent - event to handle.Copyright © 2021. All rights reserved.