public class PackageAliasingMapper extends MapperWrapper implements Serializable
Mapper.ImplicitCollectionMapping, Mapper.Null
Modifier and Type | Field and Description |
---|---|
protected Map |
nameToPackage |
Constructor and Description |
---|
PackageAliasingMapper(Mapper wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
addPackageAlias(String name,
String pkg) |
Class |
realClass(String elementName)
How a serialized class representation should be mapped back to a real class.
|
String |
serializedClass(Class type)
How a class name should be represented in its serialized form.
|
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, isReferenceable, lookupMapperOfType, realMember, serializedMember, shouldSerializeMember
protected transient Map nameToPackage
public PackageAliasingMapper(Mapper wrapped)
public String serializedClass(Class type)
Mapper
serializedClass
in interface Mapper
serializedClass
in class MapperWrapper
Copyright © 2004–2016 XStream. All rights reserved.