Uses of Class
tools.jackson.dataformat.xml.XmlFactoryBuilder
Packages that use XmlFactoryBuilder
Package
Description
Package that contains XML-based backends which can serialize POJOs
to and deserialize from XML, using Stax XML parsers and generators
for XML processing and mostly standard Jackson data binding otherwise.
-
Uses of XmlFactoryBuilder in tools.jackson.dataformat.xml
Methods in tools.jackson.dataformat.xml that return XmlFactoryBuilderModifier and TypeMethodDescriptionstatic XmlFactoryBuilderXmlFactory.builder()Main factory method to use for constructingXmlFactoryinstances with different configuration.static XmlFactoryBuilderXmlFactory.builderWithJackson2Defaults()The builder returned uses default settings more closely matching the default configs used in Jackson 2.x versions.XmlFactoryBuilder.configure(XmlReadFeature f, boolean state) XmlFactoryBuilder.configure(XmlWriteFeature f, boolean state) XmlFactoryBuilder.configureForJackson2()Overridden to also disable the XML format features whose defaults changed from Jackson 2.x to 3.x; needs to be kept in sync withXmlMapper.Builder#configureForJackson2().XmlFactoryBuilder.disable(XmlReadFeature f) XmlFactoryBuilder.disable(XmlReadFeature first, XmlReadFeature... other) XmlFactoryBuilder.disable(XmlWriteFeature f) XmlFactoryBuilder.disable(XmlWriteFeature first, XmlWriteFeature... other) XmlFactoryBuilder.enable(XmlReadFeature f) XmlFactoryBuilder.enable(XmlReadFeature first, XmlReadFeature... other) XmlFactoryBuilder.enable(XmlWriteFeature f) XmlFactoryBuilder.enable(XmlWriteFeature first, XmlWriteFeature... other) XmlFactoryBuilder.nameForTextElement(String name) XmlFactory.rebuild()XmlFactoryBuilder.staxClassLoader(ClassLoader cl) Method that can be used to specificClassLoaderfor creatingXMLInputFactoryandXMLOutputFactoryinstances if those are not explicitly defined by caller: passed to respectivenewFactory()methods.XmlFactoryBuilder.xmlInputFactory(XMLInputFactory xmlIn) XmlFactoryBuilder.xmlNameProcessor(XmlNameProcessor nameProcessor) XmlFactoryBuilder.xmlOutputFactory(XMLOutputFactory xmlOut) Constructors in tools.jackson.dataformat.xml with parameters of type XmlFactoryBuilder