Package org.apache.sling.rewriter
Interface SerializerFactory
public interface SerializerFactory
The
SerializerFactory is a service which creates
Serializers on demand. The created serializers are the
end point for the rewriter pipeline.
The factories itself are not chained but the resulting serializers
are. On each pipeline call new instances are created.
The factory is referenced using a service property named
'pipeline.type'. Each factory should have a unique value
for this property.-
Method Summary
Modifier and TypeMethodDescriptionCreate a new serializer for the pipeline.
-
Method Details
-
createSerializer
Serializer createSerializer()Create a new serializer for the pipeline.- Returns:
- A new serializer.
-