Class TextPipelineSerializerModel
java.lang.Object
org.ametys.plugins.extraction.execution.pipeline.impl.TextPipelineSerializerModel
- All Implemented Interfaces:
PipelineSerializerModel
Model for text pipeline serializers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the default extension of the file resultnewSerializer
(TransformerHandler handler, OutputStream out, Map<String, String> outputParameters) Provides a newPipelineSerializer
-
Constructor Details
-
TextPipelineSerializerModel
public TextPipelineSerializerModel()
-
-
Method Details
-
getDefaultFileExtension
Description copied from interface:PipelineSerializerModel
Gets the default extension of the file result- Specified by:
getDefaultFileExtension
in interfacePipelineSerializerModel
- Returns:
- the default extension of the file result
-
newSerializer
public PipelineSerializer newSerializer(TransformerHandler handler, OutputStream out, Map<String, String> outputParameters) Description copied from interface:PipelineSerializerModel
Provides a newPipelineSerializer
- Specified by:
newSerializer
in interfacePipelineSerializerModel
- Parameters:
handler
- The content handlerout
- The output stream to write onoutputParameters
- The output parameters for additional configuration- Returns:
- the built
PipelineSerializer
-