public class AttributeAliasingMapper extends AbstractAttributeAliasingMapper
Mapper.ImplicitCollectionMapping, Mapper.Null
aliasToName, nameToAlias
Constructor and Description |
---|
AttributeAliasingMapper(Mapper wrapped) |
Modifier and Type | Method and Description |
---|---|
String |
aliasForAttribute(String attribute)
Get the alias for an attribute's name.
|
String |
attributeForAlias(String alias)
Get the attribute's name for an alias.
|
addAliasFor
aliasForAttribute, aliasForSystemAttribute, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMember
public AttributeAliasingMapper(Mapper wrapped)
public String aliasForAttribute(String attribute)
Mapper
aliasForAttribute
in interface Mapper
aliasForAttribute
in class MapperWrapper
attribute
- the attributepublic String attributeForAlias(String alias)
Mapper
attributeForAlias
in interface Mapper
attributeForAlias
in class MapperWrapper
alias
- the aliasCopyright © 2004–2016 XStream. All rights reserved.