Abstraction for the attribute converter mapping. Mapping entry which is being used to find a
Converter while
marshaling/unmarshaling attribute
getAttributeName() of data object.
final XStream xstream = .... ;
xstream.registerLocalConverter(TypeConverterMapping.getAliasedClass(),getAttributeName(),TypeConverterMapping.getConverter());
Such spring configuration
<bean class="de.hybris.platform.commercefacades.xstream.conv.AttributeConverterMapping" >
<property name="aliasedClass" value="de.hybris.platform.commercefacades.product.data.SomeData" />
<property name="converter" >
<bean class="de.hybris.platform.commercewebservices.conv.SomeConverter" />
</property>
<property name="attributeName" value="date" />
</bean>
, determines that a de.hybris.platform.commercewebservices.conv.SomeConverter will be used for
marshaling/unmarshaling SomeData's date attribute.