public class

XStream11XmlFriendlyReplacer

extends XmlFriendlyReplacer
java.lang.Object
   ↳ com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer
     ↳ com.thoughtworks.xstream.io.xml.XStream11XmlFriendlyReplacer

Class Overview

Allows replacement of Strings in xml-friendly drivers to provide compatibility with XStream 1.1 format

Summary

Public Constructors
XStream11XmlFriendlyReplacer()
Default constructor.
Public Methods
String unescapeName(String name)
Noop implementation that does not unescape name.
Protected Methods
String escapeClassName(String className)
String escapeFieldName(String fieldName)
String unescapeClassName(String className)
String unescapeFieldName(String xmlName)
[Expand]
Inherited Methods
From class com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer
From class java.lang.Object

Public Constructors

public XStream11XmlFriendlyReplacer ()

Default constructor.

Public Methods

public String unescapeName (String name)

Noop implementation that does not unescape name. Used for XStream 1.1 compatibility.

Parameters
name the name of attribute or node
Returns
  • The String with unescaped name

Protected Methods

protected String escapeClassName (String className)

protected String escapeFieldName (String fieldName)

protected String unescapeClassName (String className)

protected String unescapeFieldName (String xmlName)