# Package io.axoniq.dataprotection.serialization

Light-weight version of the serialization functionality in Axon Framework. Only available in the core version of the Axon Data Protection Module.

- Interface Summary
  Interface | Description
  --- | ---
  ContentTypeConverter<S,​T> | Interface describing a mechanism that converts the data type of IntermediateRepresentations of SerializedObjects for Upcasters.
  Converter | Interface describing a mechanism that can convert data from one to another type.
  RevisionResolver | Interface towards a mechanism that resolves the revision of a given payload type.
  SerializedObject<T> | Interface describing the structure of a serialized object.
  SerializedType | Describes the type of a serialized object.
  Serializer | Interface describing a serialization mechanism.

- Class Summary
  Class | Description
  --- | ---
  AbstractXStreamSerializer | Abstract implementation for XStream based serializers.
  AnnotationRevisionResolver | Revision Resolver implementation that checks for the presence of an `@Revision` annotation.
  CachingSupplier<T> | A Supplier that caches its result, useful if the supplier operation is expensive and expected to always yield the same result.
  ChainedConverter<S,​T> | A converter that delegates to a chain of other ContentTypeConverters to convert from a source to a target for which there is not necessarily a single converter available.
  ChainingConverter | Converter implementation that will combine converters to form chains of converters to be able to convert from one type to another, for which there is no suitable single converter.
  FixedValueRevisionResolver | RevisionResolver implementation that returns a fixed value as revision, regardless of the type of serialized object involved.
  JavaSerializer | Serializer implementation that uses Java serialization to serialize and deserialize object instances.
  MavenArtifactRevisionResolver | RevisionResolver that uses Maven meta data to retrieve the application version.
  SerialVersionUIDRevisionResolver | RevisionResolver implementation that returns the (String representation of the) serialVersionUID of a class.
  SimpleSerializedObject<T> | SerializedObject implementation that takes all properties as constructor parameters.
  SimpleSerializedType | SerializedType implementation that takes its properties as constructor parameters.

- Exception Summary
  Exception | Description
  --- | ---
  CannotConvertBetweenTypesException | Exception indicating that a conversion is required between to upcasters, but there is no converter capable of doing the conversion.
  SerializationException | Indicates that an exception occurred while serializing or deserializing an object.
  UnknownSerializedTypeException | Exception indicating that an object could not be deserialized, because its serialized type cannot be mapped to a class.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  Revision | Annotation that attaches revision information to a Serializable object.