public class AttributeAliasingMapper extends AbstractAttributeAliasingMapper
Mapper.ImplicitCollectionMapping, Mapper.Null
aliasToName, nameToAlias
Constructor and Description |
---|
AttributeAliasingMapper(Mapper wrapped) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
aliasForAttribute(java.lang.String attribute)
Get the alias for an attribute's name.
|
java.lang.String |
attributeForAlias(java.lang.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, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMember
public AttributeAliasingMapper(Mapper wrapped)
public java.lang.String aliasForAttribute(java.lang.String attribute)
Mapper
aliasForAttribute
in interface Mapper
aliasForAttribute
in class MapperWrapper
attribute
- the attributepublic java.lang.String attributeForAlias(java.lang.String alias)
Mapper
attributeForAlias
in interface Mapper
attributeForAlias
in class MapperWrapper
alias
- the aliasCopyright © 2004–2024 XStream. All rights reserved.