Class XmlNameProcessors.PassthroughProcessor
java.lang.Object
com.fasterxml.jackson.dataformat.xml.XmlNameProcessors.PassthroughProcessor
- All Implemented Interfaces:
XmlNameProcessor
,Serializable
- Enclosing class:
XmlNameProcessors
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fasterxml.jackson.dataformat.xml.XmlNameProcessor
XmlNameProcessor.XmlName
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Used during XML deserialization.void
Used during XML serialization.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
PassthroughProcessor
public PassthroughProcessor()
-
-
Method Details
-
encodeName
Description copied from interface:XmlNameProcessor
Used during XML serialization.This method should process the provided
XmlNameProcessor.XmlName
and escape / encode invalid XML characters.- Specified by:
encodeName
in interfaceXmlNameProcessor
- Parameters:
name
- The name to encode
-
decodeName
Description copied from interface:XmlNameProcessor
Used during XML deserialization.This method should process the provided
XmlNameProcessor.XmlName
and revert the encoding done in theXmlNameProcessor.encodeName(XmlName)
method.Note: Depending on the use case, it is not always required (or even possible) to reverse an encoding with 100% accuracy.
- Specified by:
decodeName
in interfaceXmlNameProcessor
- Parameters:
name
- The name to encode
-