|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.io.xml.XmlFriendlyNameCoder
com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer
com.thoughtworks.xstream.io.xml.XStream11XmlFriendlyReplacer
XStream11NameCoder
instead
public class XStream11XmlFriendlyReplacer
Allows replacement of Strings in xml-friendly drivers to provide compatibility with XStream 1.1 format
Constructor Summary | |
---|---|
XStream11XmlFriendlyReplacer()
Deprecated. As of 1.4, use XStream11NameCoder instead |
Method Summary | |
---|---|
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. |
Methods inherited from class com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer |
---|
escapeName |
Methods inherited from class com.thoughtworks.xstream.io.xml.XmlFriendlyNameCoder |
---|
clone, encodeAttribute, encodeNode |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XStream11XmlFriendlyReplacer()
XStream11NameCoder
instead
Method Detail |
---|
public String decodeAttribute(String attributeName)
decodeAttribute
in interface NameCoder
decodeAttribute
in class XmlFriendlyNameCoder
attributeName
- the name of the attribute
public String decodeNode(String elementName)
decodeNode
in interface NameCoder
decodeNode
in class XmlFriendlyNameCoder
elementName
- the name of the node
public String unescapeName(String name)
unescapeName
in class XmlFriendlyReplacer
name
- the name of attribute or node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |