Uses of Interface
com.fasterxml.jackson.dataformat.xml.XmlNameProcessor
-
Packages that use XmlNameProcessor Package Description com.fasterxml.jackson.dataformat.xml 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.com.fasterxml.jackson.dataformat.xml.deser com.fasterxml.jackson.dataformat.xml.ser -
-
Uses of XmlNameProcessor in com.fasterxml.jackson.dataformat.xml
Classes in com.fasterxml.jackson.dataformat.xml that implement XmlNameProcessor Modifier and Type Class Description (package private) static class
XmlNameProcessors.AlwaysOnBase64NameProcessor
(package private) static class
XmlNameProcessors.Base64NameProcessor
(package private) static class
XmlNameProcessors.PassthroughProcessor
(package private) static class
XmlNameProcessors.ReplaceNameProcessor
Fields in com.fasterxml.jackson.dataformat.xml declared as XmlNameProcessor Modifier and Type Field Description protected XmlNameProcessor
XmlFactory. _nameProcessor
protected XmlNameProcessor
XmlFactoryBuilder. _nameProcessor
SeeXmlNameProcessor
andXmlNameProcessors
Methods in com.fasterxml.jackson.dataformat.xml that return XmlNameProcessor Modifier and Type Method Description XmlNameProcessor
XmlFactory. 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(java.lang.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(java.lang.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.XmlNameProcessor
XmlFactoryBuilder. xmlNameProcessor()
Methods in com.fasterxml.jackson.dataformat.xml with parameters of type XmlNameProcessor Modifier and Type Method Description void
XmlFactory. setXmlNameProcessor(XmlNameProcessor processor)
void
XmlMapper. setXmlNameProcessor(XmlNameProcessor processor)
XmlFactoryBuilder
XmlFactoryBuilder. xmlNameProcessor(XmlNameProcessor nameProcessor)
XmlMapper.Builder
XmlMapper.Builder. xmlNameProcessor(XmlNameProcessor processor)
Constructors in com.fasterxml.jackson.dataformat.xml with parameters of type XmlNameProcessor Constructor Description XmlFactory(com.fasterxml.jackson.core.ObjectCodec oc, int xpFeatures, int xgFeatures, javax.xml.stream.XMLInputFactory xmlIn, javax.xml.stream.XMLOutputFactory xmlOut, java.lang.String nameForTextElem, XmlNameProcessor nameProcessor)
-
Uses of XmlNameProcessor in com.fasterxml.jackson.dataformat.xml.deser
Fields in com.fasterxml.jackson.dataformat.xml.deser declared as XmlNameProcessor Modifier and Type Field Description protected XmlNameProcessor
XmlTokenStream. _nameProcessor
Constructors in com.fasterxml.jackson.dataformat.xml.deser with parameters of type XmlNameProcessor Constructor Description FromXmlParser(com.fasterxml.jackson.core.io.IOContext ctxt, int genericParserFeatures, int xmlFeatures, com.fasterxml.jackson.core.ObjectCodec codec, javax.xml.stream.XMLStreamReader xmlReader, XmlNameProcessor tagProcessor)
XmlTokenStream(javax.xml.stream.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 XmlNameProcessor Modifier and Type Field Description protected XmlNameProcessor
ToXmlGenerator. _nameProcessor
Escapes names with invalid XML charactersConstructors in com.fasterxml.jackson.dataformat.xml.ser with parameters of type XmlNameProcessor Constructor Description ToXmlGenerator(com.fasterxml.jackson.core.io.IOContext ctxt, int stdFeatures, int xmlFeatures, com.fasterxml.jackson.core.ObjectCodec codec, javax.xml.stream.XMLStreamWriter sw, XmlNameProcessor nameProcessor)
-