Top Description Constructors Methods
com.thoughtworks.xstream.mapper

public Class XStream11XmlFriendlyMapper

extends AbstractXmlFriendlyMapper
Class Inheritance

Deprecated

As of 1.4 use com.thoughtworks.xstream.io.xml.XmlFriendlyReader

Mapper that ensures that all names in the serialization stream are read in an XML friendly way. Note, this class is no longer in regular use for current XStream versions. It exists to provide backward compatibility to existing XML data written with older XStream versions (<= 1.1).
Authors
Joe Walnes, Mauro Talevi

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public Class<T>
realClass(String elementName)

Overrides com.thoughtworks.xstream.mapper.MapperWrapper.realClass.

Implements com.thoughtworks.xstream.mapper.Mapper.realClass.

How a serialized class representation should be mapped back to a real class.
public String
realMember(Class<T> type, String serialized)

Overrides com.thoughtworks.xstream.mapper.MapperWrapper.realMember.

Implements com.thoughtworks.xstream.mapper.Mapper.realMember.

How a serialized member representation should be mapped back to a real member.
Inherited from com.thoughtworks.xstream.mapper.AbstractXmlFriendlyMapper:
escapeClassNameescapeFieldNameunescapeClassNameunescapeFieldName

Constructor Detail

XStream11XmlFriendlyMapperback to summary
public XStream11XmlFriendlyMapper(Mapper wrapped)

Method Detail

mapNameFromXMLback to summary
public String mapNameFromXML(String xmlName)
realClassback to summary
public Class<T> realClass(String elementName)

Overrides com.thoughtworks.xstream.mapper.MapperWrapper.realClass.

Implements com.thoughtworks.xstream.mapper.Mapper.realClass.

Doc from com.thoughtworks.xstream.mapper.Mapper.realClass.

How a serialized class representation should be mapped back to a real class.

realMemberback to summary
public String realMember(Class<T> type, String serialized)

Overrides com.thoughtworks.xstream.mapper.MapperWrapper.realMember.

Implements com.thoughtworks.xstream.mapper.Mapper.realMember.

Doc from com.thoughtworks.xstream.mapper.Mapper.realMember.

How a serialized member representation should be mapped back to a real member.