Package | Description |
---|---|
org.axonframework.mongo.serialization | |
org.axonframework.serialization |
Classes related to message processing in Axon Framework.
|
org.axonframework.serialization.converters | |
org.axonframework.serialization.json | |
org.axonframework.serialization.xml |
Modifier and Type | Class and Description |
---|---|
class |
DBObjectToStringContentTypeConverter
ContentTypeConverter implementation that converts a DBObject structure into a String containing its Binary JSON
representation.
|
class |
DocumentToStringContentTypeConverter
ContentTypeConverter implementation that converts a BSON Document structure into a String containing its JSON
representation.
|
class |
StringToDBObjectContentTypeConverter
ContentTypeConverter implementation that converts a String containing its Binary JSON representation into a DBObject
structure.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
ChainingConverter.registerConverter(ContentTypeConverter converter)
Registers the given
converter with this factory. |
Modifier and Type | Method and 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 and Description |
---|
ChainedConverter(List<ContentTypeConverter<?,?>> delegates)
Creates a new instance that uses the given
delegates to form a chain of converters. |
Modifier and Type | Class and 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.
|
Modifier and Type | Class and 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[].
|
Modifier and Type | Class and 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.
|
Copyright © 2010–2018. All rights reserved.