Package com.thoughtworks.xstream.mapper
Class AbstractAttributeAliasingMapper
- java.lang.Object
-
- com.thoughtworks.xstream.mapper.MapperWrapper
-
- com.thoughtworks.xstream.mapper.AbstractAttributeAliasingMapper
-
- All Implemented Interfaces:
Mapper
- Direct Known Subclasses:
AttributeAliasingMapper
,SystemAttributeAliasingMapper
public abstract class AbstractAttributeAliasingMapper extends MapperWrapper
Abstract base class for AttributeAliassingMapper and its system version.- Since:
- 1.3.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map
aliasToName
protected java.util.Map
nameToAlias
-
Constructor Summary
Constructors Constructor Description AbstractAttributeAliasingMapper(Mapper wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAliasFor(java.lang.String attributeName, java.lang.String alias)
(package private) java.lang.Object
readResolve()
-
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, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMember
-
-
-
-
Constructor Detail
-
AbstractAttributeAliasingMapper
public AbstractAttributeAliasingMapper(Mapper wrapped)
-
-