Uses of Interface
com.fasterxml.jackson.dataformat.xml.XmlNameProcessor
Packages that use XmlNameProcessor
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 XmlNameProcessor in com.fasterxml.jackson.dataformat.xml
Classes in com.fasterxml.jackson.dataformat.xml that implement XmlNameProcessorModifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
Fields in com.fasterxml.jackson.dataformat.xml declared as XmlNameProcessorModifier and TypeFieldDescriptionprotected XmlNameProcessor
XmlFactory._nameProcessor
protected XmlNameProcessor
XmlFactoryBuilder._nameProcessor
SeeXmlNameProcessor
andXmlNameProcessors
Methods in com.fasterxml.jackson.dataformat.xml that return XmlNameProcessorModifier and TypeMethodDescriptionXmlFactory.getXmlNameProcessor()
static XmlNameProcessor
XmlNameProcessors.newAlwaysOnBase64Processor()
Similar toXmlNameProcessors.newBase64Processor(String)
, however, names will always be escaped with base64.static XmlNameProcessor
XmlNameProcessors.newBase64Processor()
Convenience method equivalent to callingXmlNameProcessors.newBase64Processor(String)
with"base64_tag_"
static XmlNameProcessor
XmlNameProcessors.newBase64Processor
(String prefix) Generates a new processor that escapes all names that contains characters OTHER than following characters: Lower- or upper-case ASCII letter (a to z, A to Z) Digit (0 to 9) in position OTHER than the first characters Underscore Hyphen (-
) in position OTHER than the first character Colon (only exposed if underlying parser is in non-namespace-aware mode) with a base64-encoded version.static XmlNameProcessor
XmlNameProcessors.newPassthroughProcessor()
Generates a new processor that does nothing and just passes through the names as-is.static XmlNameProcessor
XmlNameProcessors.newReplacementProcessor()
Convenience method equivalent to callingXmlNameProcessors.newReplacementProcessor(String)
with"_"
static XmlNameProcessor
XmlNameProcessors.newReplacementProcessor
(String replacement) Generates a new processor that replaces all characters that are NOT one of: Lower- or upper-case ASCII letter (a to z, A to Z) Digit (0 to 9) in position OTHER than the first character Underscore Hyphen (-
) in position OTHER than the first character Colon (only exposed if underlying parser is in non-namespace-aware mode) in an XML name with a replacement string.XmlFactoryBuilder.xmlNameProcessor()
Methods in com.fasterxml.jackson.dataformat.xml with parameters of type XmlNameProcessorModifier and TypeMethodDescriptionvoid
XmlFactory.setXmlNameProcessor
(XmlNameProcessor processor) void
XmlMapper.setXmlNameProcessor
(XmlNameProcessor processor) XmlFactoryBuilder.xmlNameProcessor
(XmlNameProcessor nameProcessor) XmlMapper.Builder.xmlNameProcessor
(XmlNameProcessor processor) Constructors in com.fasterxml.jackson.dataformat.xml with parameters of type XmlNameProcessorModifierConstructorDescriptionprotected
XmlFactory
(com.fasterxml.jackson.core.ObjectCodec oc, int xpFeatures, int xgFeatures, XMLInputFactory xmlIn, XMLOutputFactory xmlOut, String nameForTextElem, XmlNameProcessor nameProcessor) -
Uses of XmlNameProcessor in com.fasterxml.jackson.dataformat.xml.deser
Fields in com.fasterxml.jackson.dataformat.xml.deser declared as XmlNameProcessorConstructors in com.fasterxml.jackson.dataformat.xml.deser with parameters of type XmlNameProcessorModifierConstructorDescriptionFromXmlParser
(com.fasterxml.jackson.core.io.IOContext ctxt, int genericParserFeatures, int xmlFeatures, com.fasterxml.jackson.core.ObjectCodec codec, XMLStreamReader xmlReader, XmlNameProcessor tagProcessor) XmlTokenStream
(XMLStreamReader xmlReader, com.fasterxml.jackson.core.io.ContentReference sourceRef, int formatFeatures, XmlNameProcessor nameProcessor) -
Uses of XmlNameProcessor in com.fasterxml.jackson.dataformat.xml.ser
Fields in com.fasterxml.jackson.dataformat.xml.ser declared as XmlNameProcessorModifier and TypeFieldDescriptionprotected XmlNameProcessor
ToXmlGenerator._nameProcessor
Escapes names with invalid XML charactersConstructors in com.fasterxml.jackson.dataformat.xml.ser with parameters of type XmlNameProcessorModifierConstructorDescriptionToXmlGenerator
(com.fasterxml.jackson.core.io.IOContext ctxt, int stdFeatures, int xmlFeatures, com.fasterxml.jackson.core.ObjectCodec codec, XMLStreamWriter sw, XmlNameProcessor nameProcessor)