XmlFriendlyNameCoder
insteadpublic class XmlFriendlyReplacer extends XmlFriendlyNameCoder
Constructor and Description |
---|
XmlFriendlyReplacer()
Deprecated.
As of 1.4, use
XmlFriendlyNameCoder instead |
XmlFriendlyReplacer(String dollarReplacement,
String underscoreReplacement)
Deprecated.
As of 1.4, use
XmlFriendlyNameCoder instead |
Modifier and Type | Method and Description |
---|---|
String |
escapeName(String name)
Deprecated.
As of 1.4, use
XmlFriendlyNameCoder instead |
String |
unescapeName(String name)
Deprecated.
As of 1.4, use
XmlFriendlyNameCoder instead |
clone, createCacheMap, decodeAttribute, decodeNode, encodeAttribute, encodeNode
public XmlFriendlyReplacer()
XmlFriendlyNameCoder
insteadpublic XmlFriendlyReplacer(String dollarReplacement, String underscoreReplacement)
XmlFriendlyNameCoder
insteaddollarReplacement
- the replacement for '$'underscoreReplacement
- the replacement for '_'public String escapeName(String name)
XmlFriendlyNameCoder
insteadname
- the name of attribute or nodepublic String unescapeName(String name)
XmlFriendlyNameCoder
insteadname
- the name of attribute or nodeCopyright © 2004–2017 XStream. All rights reserved.