Uses of Interface
tools.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 tools.jackson.dataformat.xml
Fields in tools.jackson.dataformat.xml declared as XmlNameProcessorModifier and TypeFieldDescriptionprotected final XmlNameProcessorXmlFactory._nameProcessorprotected XmlNameProcessorXmlFactoryBuilder._nameProcessorSeeXmlNameProcessorandXmlNameProcessorsMethods in tools.jackson.dataformat.xml that return XmlNameProcessorModifier and TypeMethodDescriptionstatic 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 tools.jackson.dataformat.xml with parameters of type XmlNameProcessorModifier and TypeMethodDescriptionXmlFactoryBuilder.xmlNameProcessor(XmlNameProcessor nameProcessor) Constructors in tools.jackson.dataformat.xml with parameters of type XmlNameProcessorModifierConstructorDescriptionprotectedXmlFactory(int xpFeatures, int xgFeatures, XMLInputFactory xmlIn, XMLOutputFactory xmlOut, XmlNameProcessor nameProcessor, String nameForTextElem) -
Uses of XmlNameProcessor in tools.jackson.dataformat.xml.deser
Fields in tools.jackson.dataformat.xml.deser declared as XmlNameProcessorConstructors in tools.jackson.dataformat.xml.deser with parameters of type XmlNameProcessorModifierConstructorDescriptionFromXmlParser(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.io.IOContext ioCtxt, int parserFeatures, int xmlFeatures, XMLStreamReader xmlReader, XmlTokenStream tokenStream, XmlNameProcessor nameProcessor, String nameForTextElement) FromXmlParser(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.io.IOContext ioCtxt, int parserFeatures, int xmlFeatures, XMLStreamReader xmlReader, XmlNameProcessor nameProcessor, String nameForTextElement) XmlTokenStream(XMLStreamReader xmlReader, tools.jackson.core.io.ContentReference sourceRef, int formatFeatures, XmlNameProcessor nameProcessor) -
Uses of XmlNameProcessor in tools.jackson.dataformat.xml.ser
Fields in tools.jackson.dataformat.xml.ser declared as XmlNameProcessorModifier and TypeFieldDescriptionprotected XmlNameProcessorToXmlGenerator._nameProcessorEscapes names with invalid XML charactersConstructors in tools.jackson.dataformat.xml.ser with parameters of type XmlNameProcessorModifierConstructorDescriptionToXmlGenerator(tools.jackson.core.ObjectWriteContext writeCtxt, tools.jackson.core.io.IOContext ioCtxt, int streamWriteFeatures, int xmlFeatures, XMLStreamWriter sw, XmlPrettyPrinter pp, XmlNameProcessor nameProcessor)