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
Fields in com.fasterxml.jackson.dataformat.xml declared as XmlNameProcessorModifier and TypeFieldDescriptionprotected XmlNameProcessorXmlFactory._nameProcessorprotected XmlNameProcessorXmlFactoryBuilder._nameProcessorSeeXmlNameProcessorandXmlNameProcessorsMethods in com.fasterxml.jackson.dataformat.xml that return XmlNameProcessorModifier and TypeMethodDescriptionXmlFactory.getXmlNameProcessor()static XmlNameProcessorXmlNameProcessors.newAlwaysOnBase64Processor()Similar toXmlNameProcessors.newBase64Processor(String), however, names will always be escaped with base64.static XmlNameProcessorXmlNameProcessors.newBase64Processor()Convenience method equivalent to callingXmlNameProcessors.newBase64Processor(String)with"base64_tag_"static XmlNameProcessorXmlNameProcessors.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 XmlNameProcessorXmlNameProcessors.newPassthroughProcessor()Generates a new processor that does nothing and just passes through the names as-is.static XmlNameProcessorXmlNameProcessors.newReplacementProcessor()Convenience method equivalent to callingXmlNameProcessors.newReplacementProcessor(String)with"_"static XmlNameProcessorXmlNameProcessors.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 TypeMethodDescriptionvoidXmlFactory.setXmlNameProcessor(XmlNameProcessor processor) voidXmlMapper.setXmlNameProcessor(XmlNameProcessor processor) XmlFactoryBuilder.xmlNameProcessor(XmlNameProcessor nameProcessor) XmlMapper.Builder.xmlNameProcessor(XmlNameProcessor processor) Constructors in com.fasterxml.jackson.dataformat.xml with parameters of type XmlNameProcessorModifierConstructorDescriptionprotectedXmlFactory(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 XmlNameProcessorToXmlGenerator._nameProcessorEscapes 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)