Class JacksonXmlConfiguration
java.lang.Object
io.micronaut.xml.jackson.JacksonXmlConfiguration
Configuration for the Jackson XML parser and generator.
- Since:
- 2.0.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetDefaultUseWrapper(boolean state) Define if a wrapper will be used for indexed (List, array) properties or not by default.voidsetGenerator(Map<tools.jackson.dataformat.xml.XmlWriteFeature, Boolean> generator) Sets the generator features to use.voidSets the parser features to use.
-
Constructor Details
-
JacksonXmlConfiguration
public JacksonXmlConfiguration()
-
-
Method Details
-
getParserSettings
-
setParser
-
getGeneratorSettings
-
setGenerator
-
isDefaultUseWrapper
public boolean isDefaultUseWrapper()- Returns:
- True if default wrapper is used
-
setDefaultUseWrapper
public void setDefaultUseWrapper(boolean state) Define if a wrapper will be used for indexed (List, array) properties or not by default.- Parameters:
state- True if wrapping is used by default
-