Package org.simpleframework.xml.convert

Provides various strategies that can be used to convert an object.

See:
          Description

Interface Summary
Converter<T> The Converter object is used to convert an object to XML by intercepting the normal serialization process.
 

Class Summary
AnnotationStrategy The AnnotationStrategy object is used to intercept the serialization process and delegate to custom converters.
Registry The Registry represents an object that is used to register bindings between a class and a converter implementation.
RegistryStrategy The RegistryStrategy object is used to intercept the serialization process and delegate to custom converters.
 

Exception Summary
ConvertException The ConvertException is thrown when there is a problem converting an object.
 

Annotation Types Summary
Convert The Convert annotation is used to specify a converter class to use for serialization.
 

Package org.simpleframework.xml.convert Description

Provides various strategies that can be used to convert an object. Converting objects using a Converter has a number of advantages over annotating the classes directly. One of the primary advantages is that it is possible to use external objects, which can not be annotated in to your schema. Another advantage is that you can convert an object that does not conform to one of the available annotations.

The primary class in this package is the Converter. It can be implemented to provide a means of converting an object instance directly to XML and back again. For convenience there are a number of ways a converter can be included in the strategy.

See Also:
org.simpleframework.xml.strategy