Package net.sf.okapi.steps.xsltransform
Class XSLTransformStep
- java.lang.Object
-
- net.sf.okapi.common.pipeline.BasePipelineStep
-
- net.sf.okapi.steps.xsltransform.XSLTransformStep
-
- All Implemented Interfaces:
AutoCloseable,Function<Stream<Event>,Stream<Event>>,IPipelineStep
public class XSLTransformStep extends BasePipelineStep
-
-
Constructor Summary
Constructors Constructor Description XSLTransformStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()StringgetDescription()StringgetName()ParametersgetParameters()protected EventhandleEndBatch(Event event)protected EventhandleRawDocument(Event event)protected EventhandleStartBatch(Event event)protected EventhandleStartBatchItem(Event event)booleanisDone()voidsetEntityResolver(EntityResolver entityResolver)voidsetErrorListener(ErrorListener errorListener)voidsetInput(RawDocument input)voidsetOutputURI(URI outputURI)voidsetParameters(IParameters params)voidsetSecondInput(RawDocument secondInput)voidsetSystemId(String systemId)voidsetThirdInput(RawDocument thridInput)voidsetUriResolver(URIResolver uriResolver)-
Methods inherited from class net.sf.okapi.common.pipeline.BasePipelineStep
cancel, getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isLastOutputStep, setLastOutputStep, setSourceLocale, setTargetLocale
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.pipeline.IPipelineStep
apply, close, handleStream
-
-
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroyin interfaceIPipelineStep- Overrides:
destroyin classBasePipelineStep
-
setOutputURI
public void setOutputURI(URI outputURI)
-
setInput
public void setInput(RawDocument input)
-
setSecondInput
public void setSecondInput(RawDocument secondInput)
-
setThirdInput
public void setThirdInput(RawDocument thridInput)
-
getDescription
public String getDescription()
-
getName
public String getName()
-
getParameters
public Parameters getParameters()
- Specified by:
getParametersin interfaceIPipelineStep- Overrides:
getParametersin classBasePipelineStep
-
isDone
public boolean isDone()
- Specified by:
isDonein interfaceIPipelineStep- Overrides:
isDonein classBasePipelineStep
-
setParameters
public void setParameters(IParameters params)
- Specified by:
setParametersin interfaceIPipelineStep- Overrides:
setParametersin classBasePipelineStep
-
handleStartBatch
protected Event handleStartBatch(Event event)
- Overrides:
handleStartBatchin classBasePipelineStep
-
handleStartBatchItem
protected Event handleStartBatchItem(Event event)
- Overrides:
handleStartBatchItemin classBasePipelineStep
-
handleRawDocument
protected Event handleRawDocument(Event event)
- Overrides:
handleRawDocumentin classBasePipelineStep
-
handleEndBatch
protected Event handleEndBatch(Event event)
- Overrides:
handleEndBatchin classBasePipelineStep
-
setErrorListener
public void setErrorListener(ErrorListener errorListener)
-
setSystemId
public void setSystemId(String systemId)
-
setEntityResolver
public void setEntityResolver(EntityResolver entityResolver)
-
setUriResolver
public void setUriResolver(URIResolver uriResolver)
-
-