Class XmlMapper.Builder
- java.lang.Object
-
- com.fasterxml.jackson.databind.cfg.MapperBuilder<XmlMapper,XmlMapper.Builder>
-
- com.fasterxml.jackson.dataformat.xml.XmlMapper.Builder
-
- Enclosing class:
- XmlMapper
public static class XmlMapper.Builder extends MapperBuilder<XmlMapper,XmlMapper.Builder>
Builder implementation for constructingXmlMapper
instances.- Since:
- 2.10
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlMapper.Builder
configure(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser.Feature feature, boolean state)
XmlMapper.Builder
configure(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.Feature feature, boolean state)
XmlMapper.Builder
defaultUseWrapper(boolean state)
XmlMapper.Builder
disable(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser.Feature... features)
XmlMapper.Builder
disable(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.Feature... features)
XmlMapper.Builder
enable(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser.Feature... features)
XmlMapper.Builder
enable(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.Feature... features)
XmlMapper.Builder
nameForTextElement(java.lang.String name)
-
Methods inherited from class com.fasterxml.jackson.databind.cfg.MapperBuilder
accessorNaming, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addModule, addModules, addModules, annotationIntrospector, build, clearProblemHandlers, configure, configure, configure, configure, configure, configure, configure, constructorDetector, deactivateDefaultTyping, defaultAttributes, defaultBase64Variant, defaultDateFormat, defaultLeniency, defaultLocale, defaultMergeable, defaultPrettyPrinter, defaultPropertyInclusion, defaultSetterInfo, defaultTimeZone, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, filterProvider, findAndAddModules, findModules, findModules, handlerInstantiator, injectableValues, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, nodeFactory, polymorphicTypeValidator, propertyNamingStrategy, registerSubtypes, registerSubtypes, registerSubtypes, removeMixIn, serializationInclusion, serializerFactory, setDefaultTyping, streamFactory, subtypeResolver, typeFactory, visibility, visibility, withCoercionConfig, withCoercionConfig, withCoercionConfigDefaults, withConfigOverride
-
-
-
-
Constructor Detail
-
Builder
public Builder(XmlMapper m)
-
-
Method Detail
-
enable
public XmlMapper.Builder enable(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser.Feature... features)
-
disable
public XmlMapper.Builder disable(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser.Feature... features)
-
configure
public XmlMapper.Builder configure(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser.Feature feature, boolean state)
-
enable
public XmlMapper.Builder enable(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.Feature... features)
-
disable
public XmlMapper.Builder disable(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.Feature... features)
-
configure
public XmlMapper.Builder configure(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.Feature feature, boolean state)
-
nameForTextElement
public XmlMapper.Builder nameForTextElement(java.lang.String name)
-
defaultUseWrapper
public XmlMapper.Builder defaultUseWrapper(boolean state)
-
-