Package org.inria.ns.reflex.xml.serialize

Generic serialization features.


Interface Summary
Serializer An XML serializer produce a byte stream from an XML source.

Class Summary
SerializerFactory A serializer factory supplies concrete implementations of serializers according to the target MIME type.
SwitchSerializer A switch that selects the right serializer according to the root element encountered (SVG, XSLFO, etc).

Exception Summary
SerializeException An exception that can occur while serializing.

Package org.inria.ns.reflex.xml.serialize Description

Generic serialization features.

Specific serializers can be registered to the engine as specified in org.inria.ns.reflex.util.Discover

This allows to manage specific serializers from various input formats (SVG, XSLFO, HTML+CSS, XML+CSS) to various output formats (image/png, image/jpeg, application/pdf, application/ps, etc) with a great flexibility on the implementation of the serializers.

The switch serializer is an intermediate serializer that can be used to dynamically select a concrete serializer according to the root element of the input.