|
||||||||||
| 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
XmlFriendlyNameCoder instead
public class XmlFriendlyReplacer
Allows replacement of Strings in XML-friendly drivers. The default replacements are:
| Constructor Summary | |
|---|---|
XmlFriendlyReplacer()
Deprecated. As of 1.4, use XmlFriendlyNameCoder instead |
|
XmlFriendlyReplacer(String dollarReplacement,
String underscoreReplacement)
Deprecated. As of 1.4, use XmlFriendlyNameCoder instead |
|
| Method Summary | |
|---|---|
String |
escapeName(String name)
Deprecated. As of 1.4, use XmlFriendlyNameCoder instead |
String |
unescapeName(String name)
Deprecated. As of 1.4, use XmlFriendlyNameCoder instead |
| Methods inherited from class com.thoughtworks.xstream.io.xml.XmlFriendlyNameCoder |
|---|
clone, decodeAttribute, decodeNode, encodeAttribute, encodeNode |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlFriendlyReplacer()
XmlFriendlyNameCoder instead
public XmlFriendlyReplacer(String dollarReplacement,
String underscoreReplacement)
XmlFriendlyNameCoder instead
dollarReplacement - the replacement for '$'underscoreReplacement - the replacement for '_'| Method Detail |
|---|
public String escapeName(String name)
XmlFriendlyNameCoder instead
name - the name of attribute or node
public String unescapeName(String name)
XmlFriendlyNameCoder instead
name - the name of attribute or node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||