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