public class ExtractionStep extends BasePipelineStep
| Constructor and Description |
|---|
ExtractionStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getFilterConfigurationId() |
String |
getInputRootDirectory() |
URI |
getInputURI() |
String |
getName()
Gets the localizable name of this step.
|
String |
getOutputEncoding() |
URI |
getOutputURI() |
protected IPackageWriter |
getPackageWriter() |
Parameters |
getParameters()
Gets the current parameters for this step.
|
String |
getRootDir() |
LocaleId |
getSourceLocale()
Delegate to concrete class
|
LocaleId |
getTargetLocale()
Delegate to concrete class
|
protected Event |
handleEndBatch(Event event)
Handles the
EventType.END_BATCH event. |
Event |
handleEvent(Event event)
Processes each event sent though the pipeline.
|
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. |
void |
setContext(ExecutionContext context) |
void |
setFilterConfigurationId(String filterConfigId) |
void |
setInputRootDirectory(String inputRootDir) |
void |
setInputURI(URI inputURI) |
void |
setOutputEncoding(String outputEncoding) |
void |
setOutputRootDirectory(String outputRootDir) |
void |
setOutputURI(URI outputURI) |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
void |
setRootDirectory(String rootDir) |
void |
setSourceLocale(LocaleId sourceLocale)
Delegate to concrete class
|
void |
setTargetLocale(LocaleId targetLocale) |
cancel, destroy, getHelpLocation, handleCustom, handleDocumentPart, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleStartBatchItem, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputSteppublic String getDescription()
IPipelineSteppublic String getName()
IPipelineSteppublic void setSourceLocale(LocaleId sourceLocale)
IPipelineStepsetSourceLocale in interface IPipelineStepsetSourceLocale in class BasePipelineSteppublic LocaleId getSourceLocale()
IPipelineStepgetSourceLocale in interface IPipelineStepgetSourceLocale in class BasePipelineSteppublic void setTargetLocale(LocaleId targetLocale)
setTargetLocale in interface IPipelineStepsetTargetLocale in class BasePipelineSteppublic LocaleId getTargetLocale()
IPipelineStepgetTargetLocale in interface IPipelineStepgetTargetLocale in class BasePipelineSteppublic void setInputURI(URI inputURI)
public URI getInputURI()
public void setOutputURI(URI outputURI)
public URI getOutputURI()
public void setOutputEncoding(String outputEncoding)
public String getOutputEncoding()
public void setFilterConfigurationId(String filterConfigId)
public String getFilterConfigurationId()
public void setRootDirectory(String rootDir)
public String getRootDir()
public void setInputRootDirectory(String inputRootDir)
public void setOutputRootDirectory(String outputRootDir)
public String getInputRootDirectory()
public void setContext(ExecutionContext context)
public Event handleEvent(Event event)
IPipelineStephandleEvent in interface IPipelineStephandleEvent in class BasePipelineStepevent - the event to process.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.public void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepsetParameters in class BasePipelineStepparams - the new parameters to use.public Parameters getParameters()
IPipelineStepgetParameters in interface IPipelineStepgetParameters in class BasePipelineStepprotected IPackageWriter getPackageWriter()
Copyright © 2021. All rights reserved.