public class ClassAliasingMapper extends MapperWrapper
Mapper.ImplicitCollectionMapping, Mapper.Null
Constructor and Description |
---|
ClassAliasingMapper(Mapper wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
addClassAlias(String name,
Class type) |
void |
addClassAttributeAlias(String name,
Class type)
Deprecated.
As of 1.3, method was a leftover of an old implementation
|
void |
addTypeAlias(String name,
Class type) |
boolean |
aliasIsAttribute(String name)
Deprecated.
As of 1.4.9
|
boolean |
itemTypeAsAttribute(Class clazz)
Deprecated.
As of 1.4.9
|
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
public ClassAliasingMapper(Mapper wrapped)
public void addClassAttributeAlias(String name, Class type)
public String serializedClass(Class type)
Mapper
serializedClass
in interface Mapper
serializedClass
in class MapperWrapper
public Class realClass(String elementName)
Mapper
realClass
in interface Mapper
realClass
in class MapperWrapper
public boolean itemTypeAsAttribute(Class clazz)
public boolean aliasIsAttribute(String name)
Copyright © 2004–2016 XStream. All rights reserved.