tools.jackson.core.TSFBuilder
implementation for constructing XmlFactory instances.
| Modifier and Type | Field and Description |
|---|---|
| protected ClassLoader | _classLoaderForStax
Optional |
| protected int | _formatGeneratorFeatures
Set of |
| protected int | _formatParserFeatures
Set of |
| protected 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. |
| protected XmlNameProcessor | |
| protected XMLInputFactory | _xmlInputFactory
Stax factory for creating underlying input stream readers; `null` for "use default instance with default settings" |
| protected XMLOutputFactory | _xmlOutputFactory
Stax factory for creating underlying output stream writers; `null` for "use default instance with default settings" |
| Access | Constructor and Description |
|---|---|
| protected | |
| public |
| _classLoaderForStax | back to summary |
|---|---|
| protected ClassLoader _classLoaderForStax Optional | |
| _formatGeneratorFeatures | back to summary |
|---|---|
| protected int _formatGeneratorFeatures Set of | |
| _formatParserFeatures | back to summary |
|---|---|
| protected int _formatParserFeatures Set of | |
| _nameForTextElement | back to summary |
|---|---|
| protected 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 inter-operability reasons: JAXB, for example, uses "value" as name. | |
| _nameProcessor | back to summary |
|---|---|
| protected XmlNameProcessor _nameProcessor See | |
| _xmlInputFactory | back to summary |
|---|---|
| protected XMLInputFactory _xmlInputFactory Stax factory for creating underlying input stream readers; `null` for "use default instance with default settings" | |
| _xmlOutputFactory | back to summary |
|---|---|
| protected XMLOutputFactory _xmlOutputFactory Stax factory for creating underlying output stream writers; `null` for "use default instance with default settings" | |
| XmlFactoryBuilder | back to summary |
|---|---|
| protected XmlFactoryBuilder() | |
| XmlFactoryBuilder | back to summary |
|---|---|
| public XmlFactoryBuilder(XmlFactory base) | |
| build | back to summary |
|---|---|
| public XmlFactory build() Implements abstract tools. Doc from tools. Method for constructing actual
| |
| configure | back to summary |
|---|---|
| public XmlFactoryBuilder configure(XmlReadFeature f, boolean state) | |
| configure | back to summary |
|---|---|
| public XmlFactoryBuilder configure(XmlWriteFeature f, boolean state) | |
| defaultXmlInputFactory | back to summary |
|---|---|
| protected XMLInputFactory defaultXmlInputFactory() | |
| defaultXmlInputFactory | back to summary |
|---|---|
| protected static XMLInputFactory defaultXmlInputFactory(ClassLoader cl) | |
| defaultXmlOutputFactory | back to summary |
|---|---|
| protected XMLOutputFactory defaultXmlOutputFactory() | |
| defaultXmlOutputFactory | back to summary |
|---|---|
| protected static XMLOutputFactory defaultXmlOutputFactory(ClassLoader cl) | |
| disable | back to summary |
|---|---|
| public XmlFactoryBuilder disable(XmlReadFeature f) | |
| disable | back to summary |
|---|---|
| public XmlFactoryBuilder disable(XmlReadFeature first, XmlReadFeature... other) | |
| disable | back to summary |
|---|---|
| public XmlFactoryBuilder disable(XmlWriteFeature f) | |
| disable | back to summary |
|---|---|
| public XmlFactoryBuilder disable(XmlWriteFeature first, XmlWriteFeature... other) | |
| enable | back to summary |
|---|---|
| public XmlFactoryBuilder enable(XmlReadFeature f) | |
| enable | back to summary |
|---|---|
| public XmlFactoryBuilder enable(XmlReadFeature first, XmlReadFeature... other) | |
| enable | back to summary |
|---|---|
| public XmlFactoryBuilder enable(XmlWriteFeature f) | |
| enable | back to summary |
|---|---|
| public XmlFactoryBuilder enable(XmlWriteFeature first, XmlWriteFeature... other) | |
| nameForTextElement | back to summary |
|---|---|
| public String nameForTextElement() | |
| nameForTextElement | back to summary |
|---|---|
| public XmlFactoryBuilder nameForTextElement(String name) | |
| staxClassLoader | back to summary |
|---|---|
| protected ClassLoader staxClassLoader() | |
| staxClassLoader | back to summary |
|---|---|
| public XmlFactoryBuilder staxClassLoader(ClassLoader cl) Method that can be used to specific Note recommended approach is to explicitly pass | |
| xmlInputFactory | back to summary |
|---|---|
| public XMLInputFactory xmlInputFactory() | |
| xmlInputFactory | back to summary |
|---|---|
| public XmlFactoryBuilder xmlInputFactory(XMLInputFactory xmlIn) | |
| xmlNameProcessor | back to summary |
|---|---|
| public XmlNameProcessor xmlNameProcessor() | |
| xmlNameProcessor | back to summary |
|---|---|
| public XmlFactoryBuilder xmlNameProcessor(XmlNameProcessor nameProcessor) | |
| xmlOutputFactory | back to summary |
|---|---|
| public XMLOutputFactory xmlOutputFactory() | |
| xmlOutputFactory | back to summary |
|---|---|
| public XmlFactoryBuilder xmlOutputFactory(XMLOutputFactory xmlOut) | |