## Uses of Interface
io.axoniq.dataprotection.serialization.RevisionResolver

- Packages that use RevisionResolver
  Package | Description
  --- | ---
  io.axoniq.dataprotection.serialization | Light-weight version of the serialization functionality in Axon Framework.
  io.axoniq.dataprotection.serialization.json | Support for serialization to JSON via Jackson.
  io.axoniq.dataprotection.serialization.xml | Support for serialization to XML via XStream.

- - ### Uses of RevisionResolver in io.axoniq.dataprotection.serialization

    Classes in io.axoniq.dataprotection.serialization that implement RevisionResolver
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AnnotationRevisionResolver` | Revision Resolver implementation that checks for the presence of an `@Revision` annotation.
    `class` | `FixedValueRevisionResolver` | RevisionResolver implementation that returns a fixed value as revision, regardless of the type of serialized object involved.
    `class` | `MavenArtifactRevisionResolver` | RevisionResolver that uses Maven meta data to retrieve the application version.
    `class` | `SerialVersionUIDRevisionResolver` | RevisionResolver implementation that returns the (String representation of the) serialVersionUID of a class.

    Constructors in io.axoniq.dataprotection.serialization with parameters of type RevisionResolver
    Constructor | Description
    --- | ---
    `AbstractXStreamSerializer​(com.thoughtworks.xstream.XStream xStream, RevisionResolver revisionResolver)` | Initialize a generic serializer using the UTF-8 character set.
    `AbstractXStreamSerializer​(Charset charset, com.thoughtworks.xstream.XStream xStream, RevisionResolver revisionResolver)` | Initialize the serializer using the given `charset` and `xStream` instance.
    `AbstractXStreamSerializer​(Charset charset, com.thoughtworks.xstream.XStream xStream, RevisionResolver revisionResolver, Converter converter)` | Initialize the serializer using the given `charset`, `xStream` instance, `revisionResolver` and `converter`.
    `JavaSerializer​(RevisionResolver revisionResolver)` | Initialize the serializer using a SerialVersionUIDRevisionResolver.

  - ### Uses of RevisionResolver in io.axoniq.dataprotection.serialization.json

    Methods in io.axoniq.dataprotection.serialization.json that return RevisionResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected RevisionResolver` | JacksonSerializer.`getRevisionResolver()` | Returns the revision resolver used by this serializer.

    Constructors in io.axoniq.dataprotection.serialization.json with parameters of type RevisionResolver
    Constructor | Description
    --- | ---
    `JacksonSerializer​(com.fasterxml.jackson.databind.ObjectMapper objectMapper, RevisionResolver revisionResolver)` | Initialize the serializer with the given `objectMapper` to serialize and parse the objects to JSON.
    `JacksonSerializer​(com.fasterxml.jackson.databind.ObjectMapper objectMapper, RevisionResolver revisionResolver, Converter converter)` | Initialize the serializer with the given `objectMapper` to serialize and parse the objects to JSON.
    `JacksonSerializer​(com.fasterxml.jackson.databind.ObjectMapper objectMapper, RevisionResolver revisionResolver, Converter converter, ClassLoader classLoader)` | Initialize the serializer with the given `objectMapper` to serialize and parse the objects to JSON.
    `JacksonSerializer​(RevisionResolver revisionResolver, Converter converter)` | Initialize the serializer using a default ObjectMapper instance, using the given `revisionResolver` to define revision for each object to serialize, and given `converter` to be used by upcasters.

  - ### Uses of RevisionResolver in io.axoniq.dataprotection.serialization.xml

    Constructors in io.axoniq.dataprotection.serialization.xml with parameters of type RevisionResolver
    Constructor | Description
    --- | ---
    `XStreamSerializer​(com.thoughtworks.xstream.XStream xStream, RevisionResolver revisionResolver)` | Initialize a generic serializer using the UTF-8 character set.
    `XStreamSerializer​(RevisionResolver revisionResolver)` | Initialize a generic serializer using the UTF-8 character set.
    `XStreamSerializer​(Charset charset, com.thoughtworks.xstream.XStream xStream, RevisionResolver revisionResolver)` | Initialize the serializer using the given `charset` and `xStream` instance.
    `XStreamSerializer​(Charset charset, com.thoughtworks.xstream.XStream xStream, RevisionResolver revisionResolver, Converter converter)` | Initialize the serializer using the given `charset` and `xStream` instance.