public class ClassAliasingMapper extends MapperWrapper
Mapper.ImplicitCollectionMapping, Mapper.Null| Constructor and Description |
|---|
ClassAliasingMapper(Mapper wrapped) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClassAlias(java.lang.String name,
java.lang.Class type) |
void |
addClassAttributeAlias(java.lang.String name,
java.lang.Class type)
Deprecated.
As of 1.3, method was a leftover of an old implementation
|
void |
addTypeAlias(java.lang.String name,
java.lang.Class type) |
boolean |
aliasIsAttribute(java.lang.String name)
Deprecated.
As of 1.4.9
|
boolean |
itemTypeAsAttribute(java.lang.Class clazz)
Deprecated.
As of 1.4.9
|
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, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realMember, serializedMember, shouldSerializeMemberpublic ClassAliasingMapper(Mapper wrapped)
public void addClassAlias(java.lang.String name,
java.lang.Class type)
public void addClassAttributeAlias(java.lang.String name,
java.lang.Class type)
public void addTypeAlias(java.lang.String name,
java.lang.Class type)
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 MapperWrapperpublic boolean itemTypeAsAttribute(java.lang.Class clazz)
public boolean aliasIsAttribute(java.lang.String name)
Copyright © 2004–2024 XStream. All rights reserved.