Class PdfPipelineSerializerModel
- java.lang.Object
-
- org.ametys.plugins.extraction.execution.pipeline.impl.PdfPipelineSerializerModel
-
- All Implemented Interfaces:
PipelineSerializerModel
,Serviceable
public class PdfPipelineSerializerModel extends Object implements PipelineSerializerModel, Serviceable
Model for PDF pipeline serializers
-
-
Constructor Summary
Constructors Constructor Description PdfPipelineSerializerModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultFileExtension()
Gets the default extension of the file resultPipelineSerializer
newSerializer(TransformerHandler handler, OutputStream out, Map<String,String> outputParameters)
Provides a newPipelineSerializer
void
service(ServiceManager manager)
-
-
-
Constructor Detail
-
PdfPipelineSerializerModel
public PdfPipelineSerializerModel()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getDefaultFileExtension
public String 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
-
-