public interface DataFormatMapper
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMap(java.lang.Object parameter)
Returns true if this mapper can map the provided Java Object.
|
java.lang.String |
getCanonicalTypeName(java.lang.Object object) |
<T> T |
mapInternalToJava(java.lang.Object parameter,
java.lang.Class<T> type)
Maps the internal representation of a data format to a java object of the
desired class.
|
<T> T |
mapInternalToJava(java.lang.Object parameter,
java.lang.Class<T> type,
DeserializationTypeValidator validator)
Maps the internal representation of a data format to a java object of the
desired class.
|
<T> T |
mapInternalToJava(java.lang.Object parameter,
java.lang.String typeIdentifier)
Maps the internal representation of a data format to a java object of the
desired class.
|
<T> T |
mapInternalToJava(java.lang.Object parameter,
java.lang.String typeIdentifier,
DeserializationTypeValidator validator)
Maps the internal representation of a data format to a java object of the
desired class.
|
java.lang.Object |
mapJavaToInternal(java.lang.Object parameter)
Maps a java object to a data format's internal data representation.
|
boolean canMap(java.lang.Object parameter)
parameter - the java object to checkjava.lang.Object mapJavaToInternal(java.lang.Object parameter)
parameter - object that is mapped<T> T mapInternalToJava(java.lang.Object parameter,
java.lang.Class<T> type)
parameter - the object to be mappedtype - the class to map the object to<T> T mapInternalToJava(java.lang.Object parameter,
java.lang.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(java.lang.Object parameter,
java.lang.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(java.lang.Object parameter,
java.lang.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 classjava.lang.String getCanonicalTypeName(java.lang.Object object)
Copyright © 2014–2022 Camunda Services GmbH. All rights reserved.