Top Description Fields Constructors Methods
com.thoughtworks.xstream.mapper

public abstract Class AbstractAttributeAliasingMapper

extends MapperWrapper
Class Inheritance
Known Direct Subclasses
com.thoughtworks.xstream.mapper.AttributeAliasingMapper, com.thoughtworks.xstream.mapper.SystemAttributeAliasingMapper
Imports
java.util.HashMap, .Iterator, .Map

Abstract base class for AttributeAliassingMapper and its system version.
Author
Jörg Schaible
Since
1.3.1

Field Summary

Modifier and TypeField and Description
protected final Map<K, V>
protected transient Map<K, V>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addAliasFor(final String attributeName, final String alias)

pack-priv Object
Inherited from com.thoughtworks.xstream.mapper.MapperWrapper:
aliasForAttributealiasForAttributealiasForSystemAttributeattributeForAliasattributeForAliasdefaultImplementationOfgetConverterFromAttributegetConverterFromAttributegetConverterFromAttributegetConverterFromItemTypegetConverterFromItemTypegetConverterFromItemTypegetFieldNameForItemTypeAndNamegetImplicitCollectionDefForFieldNamegetItemTypeForItemFieldNamegetLocalConverterisIgnoredElementisImmutableValueTypeisReferenceablelookupMapperOfTyperealClassrealMemberserializedClassserializedMembershouldSerializeMember

Field Detail

aliasToNameback to summary
protected final Map<K, V> aliasToName
nameToAliasback to summary
protected transient Map<K, V> nameToAlias

Constructor Detail

AbstractAttributeAliasingMapperback to summary
public AbstractAttributeAliasingMapper(Mapper wrapped)

Method Detail

addAliasForback to summary
public void addAliasFor(final String attributeName, final String alias)
readResolveback to summary
pack-priv Object readResolve()