public class PackageAliasingMapper extends MapperWrapper implements java.io.Serializable
Mapper.ImplicitCollectionMapping, Mapper.Null| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map |
nameToPackage |
| Constructor and Description |
|---|
PackageAliasingMapper(Mapper wrapped) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPackageAlias(java.lang.String name,
java.lang.String pkg) |
java.lang.Class |
realClass(java.lang.String elementName)
How a serialized class representation should be mapped back to a real class.
|
java.lang.String |
serializedClass(java.lang.Class type)
How a class name should be represented in its serialized form.
|
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, attributeForClassDefiningField, attributeForEnumType, attributeForImplementationClass, attributeForReadResolveField, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, lookupMapperOfType, realMember, serializedMember, shouldSerializeMemberpublic PackageAliasingMapper(Mapper wrapped)
public void addPackageAlias(java.lang.String name,
java.lang.String pkg)
public java.lang.String serializedClass(java.lang.Class type)
MapperserializedClass in interface MapperserializedClass in class MapperWrapperpublic java.lang.Class realClass(java.lang.String elementName)
MapperrealClass in interface MapperrealClass in class MapperWrapperJoe Walnes, http://xstream.codehaus.org/