public class NoOpPipelineDescriptor extends Object implements PipelineDescriptor
PipelineDescriptor
, with no XSLT and a XML serializer.Modifier and Type | Field and Description |
---|---|
private PipelineSerializerModel |
_xmlSerializer |
Constructor and Description |
---|
NoOpPipelineDescriptor(PipelineSerializerModel xmlSerializer)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultExtension()
Gets the default extension of the file result(s)
The default extension is used when PipelineDescriptor.getResultSubfolder() is a folder and not a file. |
I18nizableText |
getLabel()
Gets the label
|
Map<String,String> |
getOutputParameters()
Get the output parameters to add some specific features in each serializer.
|
String |
getResultSubfolder()
Gets the result subfolder (or file).
|
PipelineSerializerModel |
getSerializerModel()
Gets the
serializer model |
List<String> |
getStylesheets()
Gets the XSLT file names to chain
|
Pipeline |
newPipeline(OutputStream out)
Provides a new
Pipeline |
private PipelineSerializerModel _xmlSerializer
public NoOpPipelineDescriptor(PipelineSerializerModel xmlSerializer)
xmlSerializer
- The XML descriptor serializer for the pipelinespublic I18nizableText getLabel()
PipelineDescriptor
getLabel
in interface PipelineDescriptor
public List<String> getStylesheets()
PipelineDescriptor
getStylesheets
in interface PipelineDescriptor
public PipelineSerializerModel getSerializerModel()
PipelineDescriptor
serializer model
getSerializerModel
in interface PipelineDescriptor
serializer model
public String getResultSubfolder()
PipelineDescriptor
PathResolver
), resolved against the extraction results.
defaultResultFileName
parameter
of ExtractionExecutor#execute method
);
PipelineDescriptor.getDefaultExtension()
);
getResultSubfolder
in interface PipelineDescriptor
public String getDefaultExtension()
PipelineDescriptor
PipelineDescriptor.getResultSubfolder()
is a folder and not a file.getDefaultExtension
in interface PipelineDescriptor
public Pipeline newPipeline(OutputStream out)
PipelineDescriptor
Pipeline
newPipeline
in interface PipelineDescriptor
out
- the output stream to write onPipeline
public Map<String,String> getOutputParameters()
PipelineDescriptor
getOutputParameters
in interface PipelineDescriptor