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 classChainedConverter<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 voidChainingConverter. registerConverter(ContentTypeConverter converter)Registers the givenconverterwith 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 givensourceTypeto the giventargetTypeusing a chain formed with givencandidates.static <S,T>
booleanChainedConverter. canConvert(Class<S> sourceContentType, Class<T> targetContentType, List<ContentTypeConverter<?,?>> converters)Indicates whether this converter is capable of converting the givensourceContentTypeintotargetContentType, using the givenconverters.voidChainingConverter. registerConverter(Class<? extends ContentTypeConverter> converterType)Registers a convert of the givenconverterTypewith this factory, only if initialization of such a converter is possible.voidChainingConverter. 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 givendelegatesto 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 classBlobToInputStreamConverterclassByteArrayToInputStreamConverterContentTypeConverter that converts byte arrays into InputStream.classByteArrayToStringConverterContentTypeConverter that converts byte arrays into Strings.classInputStreamToByteArrayConverterConverter that converts an InputStream to a byte array.classStringToByteArrayConverterContentTypeConverter 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 classByteArrayToJsonNodeConverterContentTypeConverter implementation that converts byte[] containing UTF8 encoded JSON string to a Jackson JsonNode.classJsonNodeToByteArrayConverterContentTypeConverter 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 classDom4JToByteArrayConverterConverter that converts Dom4j Document instances to a byte array.classInputStreamToDom4jConverterConverter that converts an input stream to a Dom4J document.classInputStreamToXomConverterConverter that converts an input stream to a XOM document.classXomToStringConverterConverter that converts XOM Document instances to a String.
-