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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
PdfPipelineSerializerModel.PdfPipelineSerializer
-
Field Summary
Fields Modifier and Type Field Description private SourceResolver
_sourceResolver
-
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)
-
-
-
Field Detail
-
_sourceResolver
private SourceResolver _sourceResolver
-
-
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
-
-