public class StringTypeMapper extends Object implements TypeMapper<String>
Constructor and Description |
---|
StringTypeMapper() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSupportedType(Class<?> type) |
Object |
mapFromProperty(Property property) |
Object |
mapToEmptyValue() |
Property |
mapToProperty(String propertyName,
Object value) |
String |
mapToRawType(Object value) |
Value |
mapToValue(Object value) |
public boolean isSupportedType(Class<?> type)
isSupportedType
in interface TypeMapper<String>
public String mapToRawType(Object value)
mapToRawType
in interface TypeMapper<String>
public Value mapToValue(Object value)
mapToValue
in interface TypeMapper<String>
public Object mapToEmptyValue()
mapToEmptyValue
in interface TypeMapper<String>
public Property mapToProperty(String propertyName, Object value)
mapToProperty
in interface TypeMapper<String>
public Object mapFromProperty(Property property)
mapFromProperty
in interface TypeMapper<String>
Copyright © 2015. All rights reserved.