See: Description
| Interface | Description |
|---|---|
| Converter<T> |
The
Converter object is used to convert an object
to XML by intercepting the normal serialization process. |
| Class | Description |
|---|---|
| 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 | Description |
|---|---|
| ConvertException |
The
ConvertException is thrown when there is a
problem converting an object. |
| Annotation Type | Description |
|---|---|
| Convert |
The
Convert annotation is used to specify a converter
class to use for serialization. |
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.
org.simpleframework.xml.strategy