XStream11NameCoder
insteadpublic class XStream11XmlFriendlyReplacer extends XmlFriendlyReplacer
Constructor and Description |
---|
XStream11XmlFriendlyReplacer()
Deprecated.
As of 1.4, use
XStream11NameCoder instead |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decodeAttribute(java.lang.String attributeName)
Deprecated.
Decode an attribute name to an object name.
|
java.lang.String |
decodeNode(java.lang.String elementName)
Deprecated.
Decode a node name to an object name.
|
java.lang.String |
unescapeName(java.lang.String name)
Deprecated.
Noop implementation that does not unescape name.
|
escapeName
clone, createCacheMap, encodeAttribute, encodeNode
public XStream11XmlFriendlyReplacer()
XStream11NameCoder
insteadpublic java.lang.String decodeAttribute(java.lang.String attributeName)
decodeAttribute
in interface NameCoder
decodeAttribute
in class XmlFriendlyNameCoder
attributeName
- the name of the attributepublic java.lang.String decodeNode(java.lang.String elementName)
decodeNode
in interface NameCoder
decodeNode
in class XmlFriendlyNameCoder
elementName
- the name of the nodepublic java.lang.String unescapeName(java.lang.String name)
unescapeName
in class XmlFriendlyReplacer
name
- the name of attribute or nodeCopyright © 2004–2021 XStream. All rights reserved.