Interface ValueMapper<T extends TypedValue>
-
- All Known Implementing Classes:
AbstractTypedValueMapper
,BooleanValueMapper
,ByteArrayValueMapper
,DateValueMapper
,DoubleValueMapper
,FileValueMapper
,IntegerValueMapper
,JsonValueMapper
,LongValueMapper
,NullValueMapper
,NumberValueMapper
,ObjectValueMapper
,PrimitiveValueMapper
,ShortValueMapper
,StringValueMapper
,XmlValueMapper
public interface ValueMapper<T extends TypedValue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canHandleTypedValue(TypedValue value)
boolean
canHandleTypedValueField(TypedValueField value)
T
convertToTypedValue(UntypedValueImpl untypedValue)
java.lang.String
getSerializationDataformat()
ValueType
getType()
T
readValue(TypedValueField value, boolean deserializeValue)
void
writeValue(T typedValue, TypedValueField typedValueField)
-
-
-
Method Detail
-
getType
ValueType getType()
-
writeValue
void writeValue(T typedValue, TypedValueField typedValueField)
-
readValue
T readValue(TypedValueField value, boolean deserializeValue)
-
canHandleTypedValue
boolean canHandleTypedValue(TypedValue value)
-
canHandleTypedValueField
boolean canHandleTypedValueField(TypedValueField value)
-
convertToTypedValue
T convertToTypedValue(UntypedValueImpl untypedValue)
-
getSerializationDataformat
java.lang.String getSerializationDataformat()
-
-