java.lang .Object com.thoughtworks.xstream.io.xml .XmlFriendlyReplacer com.thoughtworks.xstream.benchmark.xmlfriendly.product .AbstractXmlFriendlyReplacer AbstractXmlFriendlyReplacer abstract public class AbstractXmlFriendlyReplacer extends XmlFriendlyReplacer (Code) Abstract base class for the XmlFriendlyReplacer with all kind of implementations.
author: Jörg Schaiblesince: 1.3
AbstractXmlFriendlyReplacer public AbstractXmlFriendlyReplacer(String dollarReplacement, String underscoreReplacement, int bufferIncrement)(Code) Creates an XmlFriendlyReplacer with custom replacements
Parameters: dollarReplacement - the replacement for '$'Parameters: underscoreReplacement - the replacement for '_'Parameters: bufferIncrement - buffer increment for preallocation
escapeByCombinedLookupAppending protected String escapeByCombinedLookupAppending(String name)(Code)
escapeByCombinedLookupReplacing protected String escapeByCombinedLookupReplacing(String name)(Code)
escapeBySeparateLookupReplacing protected String escapeBySeparateLookupReplacing(String name)(Code)
escapeName abstract public String escapeName(String name)(Code) Escapes name substituting '$' and '_' with replacement strings
Parameters: name - the name of attribute or node The String with the escaped name
unescapeByCombinedLookupAppending protected String unescapeByCombinedLookupAppending(String name)(Code)
unescapeByCombinedLookupReplacing protected String unescapeByCombinedLookupReplacing(String name)(Code)
unescapeBySeparateLookupReplacing protected String unescapeBySeparateLookupReplacing(String name)(Code)
unescapeIterativelyAppending protected String unescapeIterativelyAppending(String name)(Code)
unescapeIterativelyReplacing protected String unescapeIterativelyReplacing(String name)(Code)
unescapeName abstract public String unescapeName(String name)(Code) Escapes name substituting '$' and '_' with replacement strings
Parameters: name - the name of attribute or node The String with the escaped name