Class JacksonXmlFormatMapper
java.lang.Object
org.hibernate.type.format.jackson.JacksonXmlFormatMapper
- All Implemented Interfaces:
FormatMapper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJacksonXmlFormatMapper
(boolean legacyFormat) JacksonXmlFormatMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescription<T> T
fromString
(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions) Deserializes an object from the character sequence.<T> String
toString
(T value, JavaType<T> javaType, WrapperOptions wrapperOptions) Serializes the object to a string.
-
Field Details
-
SHORT_NAME
- See Also:
-
-
Constructor Details
-
JacksonXmlFormatMapper
public JacksonXmlFormatMapper() -
JacksonXmlFormatMapper
public JacksonXmlFormatMapper(boolean legacyFormat) -
JacksonXmlFormatMapper
public JacksonXmlFormatMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
fromString
public <T> T fromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions) Description copied from interface:FormatMapper
Deserializes an object from the character sequence.- Specified by:
fromString
in interfaceFormatMapper
-
toString
Description copied from interface:FormatMapper
Serializes the object to a string.- Specified by:
toString
in interfaceFormatMapper
-