Class XmlPipelineSerializerModel
- java.lang.Object
-
- org.ametys.plugins.extraction.execution.pipeline.impl.XmlPipelineSerializerModel
-
- All Implemented Interfaces:
PipelineSerializerModel
public class XmlPipelineSerializerModel extends Object implements PipelineSerializerModel
Model for XML pipeline serializers
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
XmlPipelineSerializerModel.XmlPipelineSerializer
-
Constructor Summary
Constructors Constructor Description XmlPipelineSerializerModel()
-
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
-
-
-
Constructor Detail
-
XmlPipelineSerializerModel
public XmlPipelineSerializerModel()
-
-
Method Detail
-
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
-
-