Class SystemAttributeAliasingMapper
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.AbstractAttributeAliasingMapper
com.thoughtworks.xstream.mapper.SystemAttributeAliasingMapper
- All Implemented Interfaces:
Mapper
Mapper that allows aliasing of system attribute names.
- Since:
- 1.3.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null -
Field Summary
Fields inherited from class AbstractAttributeAliasingMapper
aliasToName, nameToAlias -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaliasForSystemAttribute(String attribute) Get the alias for a system attribute's name.Methods inherited from class AbstractAttributeAliasingMapper
addAliasFor, readResolveMethods inherited from class MapperWrapper
aliasForAttribute, aliasForAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMember
-
Constructor Details
-
SystemAttributeAliasingMapper
-
-
Method Details
-
aliasForSystemAttribute
Description copied from interface:MapperGet the alias for a system attribute's name.- Specified by:
aliasForSystemAttributein interfaceMapper- Overrides:
aliasForSystemAttributein classMapperWrapper- Parameters:
attribute- the system attribute- Returns:
- the alias
-