com.thoughtworks.xstream.mapper
Class XStream11XmlFriendlyMapper

java.lang.Object
  extended by com.thoughtworks.xstream.mapper.MapperWrapper
      extended by com.thoughtworks.xstream.mapper.AbstractXmlFriendlyMapper
          extended by com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper
All Implemented Interfaces:
Mapper

Deprecated. As of 1.4 use XmlFriendlyReader

public class XStream11XmlFriendlyMapper
extends AbstractXmlFriendlyMapper

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).

Author:
Joe Walnes, Mauro Talevi

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null
 
Constructor Summary
XStream11XmlFriendlyMapper(Mapper wrapped)
          Deprecated.  
 
Method Summary
 String mapNameFromXML(String xmlName)
          Deprecated.  
 Class realClass(String elementName)
          Deprecated. How a serialized class representation should be mapped back to a real class.
 String realMember(Class type, String serialized)
          Deprecated. How a serialized member representation should be mapped back to a real member.
 
Methods inherited from class com.thoughtworks.xstream.mapper.AbstractXmlFriendlyMapper
escapeClassName, escapeFieldName, unescapeClassName, unescapeFieldName
 
Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, lookupMapperOfType, serializedClass, serializedMember, shouldSerializeMember
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XStream11XmlFriendlyMapper

public XStream11XmlFriendlyMapper(Mapper wrapped)
Deprecated. 
Method Detail

realClass

public Class realClass(String elementName)
Deprecated. 
Description copied from interface: Mapper
How a serialized class representation should be mapped back to a real class.

Specified by:
realClass in interface Mapper
Overrides:
realClass in class MapperWrapper

realMember

public String realMember(Class type,
                         String serialized)
Deprecated. 
Description copied from interface: Mapper
How a serialized member representation should be mapped back to a real member.

Specified by:
realMember in interface Mapper
Overrides:
realMember in class MapperWrapper

mapNameFromXML

public String mapNameFromXML(String xmlName)
Deprecated. 


Copyright © 2004-2014 XStream. All Rights Reserved.