Class XmlFactoryBuilder

    • Field Detail

      • _formatParserFeatures

        protected int _formatParserFeatures
        Set of FromXmlParser.Features enabled, as bitmask.
      • _formatGeneratorFeatures

        protected int _formatGeneratorFeatures
        Set of {@@code ToXmlGenerator.Feature}s enabled, as bitmask.
      • _xmlInputFactory

        protected javax.xml.stream.XMLInputFactory _xmlInputFactory
        Stax factory for creating underlying input stream readers; `null` for "use default instance with default settings"
      • _xmlOutputFactory

        protected javax.xml.stream.XMLOutputFactory _xmlOutputFactory
        Stax factory for creating underlying output stream writers; `null` for "use default instance with default settings"
      • _nameForTextElement

        protected java.lang.String _nameForTextElement
        In cases where a start element has both attributes and non-empty textual value, we have to create a bogus property; we will use this as the property name.

        Name used for pseudo-property used for returning XML Text value (which does not have actual element name to use). Defaults to empty String, but may be changed for interoperability reasons: JAXB, for example, uses "value" as name.

      • _classLoaderForStax

        protected java.lang.ClassLoader _classLoaderForStax
        Optional ClassLoader to use for constructing XMLInputFactory and instances if not explicitly specified by caller. If not specified, will default to ClassLoader that loaded this class.
        Since:
        2.13
    • Constructor Detail

      • XmlFactoryBuilder

        protected XmlFactoryBuilder()
      • XmlFactoryBuilder

        public XmlFactoryBuilder​(XmlFactory base)