Example usage for Java com.fasterxml.jackson.dataformat.xml XmlMapper fields, constructors, methods, implement or subclass
The text is from its open source code.
XmlMapper() | |
XmlMapper(XmlFactory xmlFactory, JacksonXmlModule module) | |
XmlMapper(XmlFactory xmlFactory) | |
XmlMapper(JacksonXmlModule module) |
ObjectMapper | addHandler(DeserializationProblemHandler h) Method for adding specified DeserializationProblemHandler to be used for handling specific problems during deserialization. |
ObjectMapper | configure(ToXmlGenerator.Feature f, boolean state) |
ObjectMapper | configure(FromXmlParser.Feature f, boolean state) |
ObjectMapper | disable(ToXmlGenerator.Feature f) |
ObjectMapper | disable(FromXmlParser.Feature f) |
ObjectReader | reader(DeserializationFeature feature) Factory method for constructing ObjectReader with specified feature enabled (compared to settings that this mapper instance has). |
T | readTree(JsonParser jp) Method to deserialize JSON content as tree expressed using set of JsonNode instances. |
T | readValue(JsonParser jp, Class Method to deserialize JSON content into a non-container type (it can be an array type, however): typically a bean, array or a wrapper type (like java.lang.Boolean ). |
ObjectMapper | registerModule(Module module) Method for registering a module that can extend functionality provided by this mapper; for example, by adding providers for custom serializers and deserializers. |
ObjectMapper | setAnnotationIntrospector(AnnotationIntrospector ai) Method for changing AnnotationIntrospector used by this mapper instance for both serialization and deserialization |
ObjectMapper | setInjectableValues(InjectableValues injectableValues) Method for configuring InjectableValues which used to find values to inject. |
ObjectMapper | setPropertyNamingStrategy(PropertyNamingStrategy s) Method for setting custom property naming strategy to use. |
ObjectMapper | setSerializerProvider(DefaultSerializerProvider p) Method for setting specific SerializerProvider to use for handling caching of JsonSerializer instances. |
ObjectWriter | writerWithDefaultPrettyPrinter() Factory method for constructing ObjectWriter that will serialize objects using the default pretty printer for indentation |
String | writeValueAsString(Object value) Method that can be used to serialize any Java value as a String. |