Package org.hibernate.type.jaxb
Class JaxbXmlFormatMapper
- java.lang.Object
-
- org.hibernate.type.jaxb.JaxbXmlFormatMapper
-
- All Implemented Interfaces:
FormatMapper
public final class JaxbXmlFormatMapper extends Object implements FormatMapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJaxbXmlFormatMapper.CollectionWrapperstatic classJaxbXmlFormatMapper.MapWrapper
-
Field Summary
Fields Modifier and Type Field Description static StringSHORT_NAME
-
Constructor Summary
Constructors Constructor Description JaxbXmlFormatMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TfromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions)Deserializes an object from the character sequence.<T> StringtoString(T value, JavaType<T> javaType, WrapperOptions wrapperOptions)Serializes the object to a string.
-
-
-
Field Detail
-
SHORT_NAME
public static final String SHORT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromString
public <T> T fromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions)
Description copied from interface:FormatMapperDeserializes an object from the character sequence.- Specified by:
fromStringin interfaceFormatMapper
-
toString
public <T> String toString(T value, JavaType<T> javaType, WrapperOptions wrapperOptions)
Description copied from interface:FormatMapperSerializes the object to a string.- Specified by:
toStringin interfaceFormatMapper
-
-