Class XStream11NameCoder
java.lang.Object
com.thoughtworks.xstream.io.xml.XmlFriendlyNameCoder
com.thoughtworks.xstream.io.xml.XStream11NameCoder
A XmlFriendlyNameCoder to support backward compatibility with XStream 1.1.
- Since:
- 1.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeAttribute(String attributeName) Decode an attribute name to an object name.decodeNode(String elementName) Decode a node name to an object name.Methods inherited from class XmlFriendlyNameCoder
clone, createCacheMap, encodeAttribute, encodeNode
-
Constructor Details
-
XStream11NameCoder
public XStream11NameCoder()
-
-
Method Details
-
decodeAttribute
Decode an attribute name to an object name. Noop implementation that does not decode. Used for XStream 1.1 compatibility.- Specified by:
decodeAttributein interfaceNameCoder- Overrides:
decodeAttributein classXmlFriendlyNameCoder- Parameters:
attributeName- the name of the attribute- Returns:
- the name of the meta-data
-
decodeNode
Decode a node name to an object name. Noop implementation that does not decode. Used for XStream 1.1 compatibility.- Specified by:
decodeNodein interfaceNameCoder- Overrides:
decodeNodein classXmlFriendlyNameCoder- Parameters:
elementName- the name of the node- Returns:
- the name of the object
-