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

- Packages that use ContentTypeConverter
  Package | Description
  --- | ---
  io.axoniq.dataprotection.serialization | Light-weight version of the serialization functionality in Axon Framework.
  io.axoniq.dataprotection.serialization.converters | Converters between various serialized forms (`String`, `byte[]` etc.).
  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 ContentTypeConverter in io.axoniq.dataprotection.serialization

    Classes in io.axoniq.dataprotection.serialization that implement ContentTypeConverter
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `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.

    Methods in io.axoniq.dataprotection.serialization with parameters of type ContentTypeConverter
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ChainingConverter.`registerConverter​(ContentTypeConverter converter)` | Registers the given `converter` with this factory.

    Method parameters in io.axoniq.dataprotection.serialization with type arguments of type ContentTypeConverter
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <S,​T> ChainedConverter<S,​T>` | ChainedConverter.`calculateChain​(Class<S> sourceType, Class<T> targetType, Collection<ContentTypeConverter<?,​?>> candidates)` | Returns a converter that can convert an IntermediateRepresentation from the given `sourceType` to the given `targetType` using a chain formed with given `candidates`.
    `static <S,​T> boolean` | ChainedConverter.`canConvert​(Class<S> sourceContentType, Class<T> targetContentType, List<ContentTypeConverter<?,​?>> converters)` | Indicates whether this converter is capable of converting the given `sourceContentType` into `targetContentType`, using the given `converters`.
    `void` | ChainingConverter.`registerConverter​(Class<? extends ContentTypeConverter> converterType)` | Registers a convert of the given `converterType` with this factory, only if initialization of such a converter is possible.
    `void` | ChainingConverter.`setAdditionalConverters​(List<ContentTypeConverter> additionalConverters)` | Setter for dependency injection frameworks that require property methods.

    Constructor parameters in io.axoniq.dataprotection.serialization with type arguments of type ContentTypeConverter
    Constructor | Description
    --- | ---
    `ChainedConverter​(List<ContentTypeConverter<?,​?>> delegates)` | Creates a new instance that uses the given `delegates` to form a chain of converters.

  - ### Uses of ContentTypeConverter in io.axoniq.dataprotection.serialization.converters

    Classes in io.axoniq.dataprotection.serialization.converters that implement ContentTypeConverter
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `BlobToInputStreamConverter` |
    `class` | `ByteArrayToInputStreamConverter` | ContentTypeConverter that converts byte arrays into InputStream.
    `class` | `ByteArrayToStringConverter` | ContentTypeConverter that converts byte arrays into Strings.
    `class` | `InputStreamToByteArrayConverter` | Converter that converts an InputStream to a byte array.
    `class` | `StringToByteArrayConverter` | ContentTypeConverter that converts String into byte arrays.

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

    Classes in io.axoniq.dataprotection.serialization.json that implement ContentTypeConverter
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ByteArrayToJsonNodeConverter` | ContentTypeConverter implementation that converts byte[] containing UTF8 encoded JSON string to a Jackson JsonNode.
    `class` | `JsonNodeToByteArrayConverter` | ContentTypeConverter implementation that converts a JsonNode object into a byte[].

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

    Classes in io.axoniq.dataprotection.serialization.xml that implement ContentTypeConverter
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Dom4JToByteArrayConverter` | Converter that converts Dom4j Document instances to a byte array.
    `class` | `InputStreamToDom4jConverter` | Converter that converts an input stream to a Dom4J document.
    `class` | `InputStreamToXomConverter` | Converter that converts an input stream to a XOM document.
    `class` | `XomToStringConverter` | Converter that converts XOM Document instances to a String.