public interface DataFormatMapper
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMap(Object parameter)
Returns true if this mapper can map the provided Java Object.
|
String |
getCanonicalTypeName(Object object) |
<T> T |
mapInternalToJava(Object parameter,
Class<T> type)
Maps the internal representation of a data format to a java object of the
desired class.
|
<T> T |
mapInternalToJava(Object parameter,
Class<T> type,
DeserializationTypeValidator validator)
Maps the internal representation of a data format to a java object of the
desired class.
|
<T> T |
mapInternalToJava(Object parameter,
String typeIdentifier)
Maps the internal representation of a data format to a java object of the
desired class.
|
<T> T |
mapInternalToJava(Object parameter,
String typeIdentifier,
DeserializationTypeValidator validator)
Maps the internal representation of a data format to a java object of the
desired class.
|
Object |
mapJavaToInternal(Object parameter)
Maps a java object to a data format's internal data representation.
|
boolean canMap(Object parameter)
parameter - the java object to checkObject mapJavaToInternal(Object parameter)
parameter - object that is mapped<T> T mapInternalToJava(Object parameter, Class<T> type)
parameter - the object to be mappedtype - the class to map the object to<T> T mapInternalToJava(Object parameter, Class<T> type, DeserializationTypeValidator validator)
validator
prior to the mapping.parameter - the object to be mappedtype - the class to map the object tovalidator - the validator for the target class<T> T mapInternalToJava(Object parameter, String typeIdentifier)
Class object.
The desired class is not validated prior to the mapping.parameter - the object to be mappedtypeIdentifier - a data-format-specific type identifier that describes
the class to map to<T> T mapInternalToJava(Object parameter, String typeIdentifier, DeserializationTypeValidator validator)
Class object.
The desired class is validated by the validator prior to the mapping.parameter - the object to be mappedtypeIdentifier - a data-format-specific type identifier that describes
the class to map tovalidator - the validator for the target classCopyright © 2014–2020 Camunda Services GmbH. All rights reserved.