| java.lang.Object com.thoughtworks.xstream.mapper.MapperWrapper com.thoughtworks.xstream.mapper.ClassAliasingMapper
ClassAliasingMapper | public class ClassAliasingMapper extends MapperWrapper (Code) | | Mapper that allows a fully qualified class name to be replaced with a shorter alias.
author: Joe Walnes author: Jörg Schaible |
classToName | final protected Map classToName(Code) | | |
nameToType | protected transient Map nameToType(Code) | | |
typeToName | final protected Map typeToName(Code) | | |
ClassAliasingMapper | public ClassAliasingMapper(Mapper wrapped)(Code) | | |
addClassAttributeAlias | public void addClassAttributeAlias(String name, Class type)(Code) | | |
aliasIsAttribute | public boolean aliasIsAttribute(String name)(Code) | | |
itemTypeAsAttribute | public boolean itemTypeAsAttribute(Class clazz)(Code) | | |
Methods inherited from com.thoughtworks.xstream.mapper.MapperWrapper | public String aliasForAttribute(String attribute)(Code)(Java Doc) public String aliasForAttribute(Class definedIn, String fieldName)(Code)(Java Doc) public String attributeForAlias(String alias)(Code)(Java Doc) public String attributeForAlias(Class definedIn, String alias)(Code)(Java Doc) public String attributeForClassDefiningField()(Code)(Java Doc) public String attributeForEnumType()(Code)(Java Doc) public String attributeForImplementationClass()(Code)(Java Doc) public String attributeForReadResolveField()(Code)(Java Doc) public Class defaultImplementationOf(Class type)(Code)(Java Doc) public SingleValueConverter getConverterFromAttribute(String name)(Code)(Java Doc) public SingleValueConverter getConverterFromAttribute(Class type, String attribute)(Code)(Java Doc) public SingleValueConverter getConverterFromItemType(String fieldName, Class type)(Code)(Java Doc) public SingleValueConverter getConverterFromItemType(Class type)(Code)(Java Doc) public SingleValueConverter getConverterFromItemType(String fieldName, Class type, Class definedIn)(Code)(Java Doc) public String getFieldNameForItemTypeAndName(Class definedIn, Class itemType, String itemFieldName)(Code)(Java Doc) public ImplicitCollectionMapping getImplicitCollectionDefForFieldName(Class itemType, String fieldName)(Code)(Java Doc) public Class getItemTypeForItemFieldName(Class definedIn, String itemFieldName)(Code)(Java Doc) public Converter getLocalConverter(Class definedIn, String fieldName)(Code)(Java Doc) public boolean isImmutableValueType(Class type)(Code)(Java Doc) public Mapper lookupMapperOfType(Class type)(Code)(Java Doc) public Class realClass(String elementName)(Code)(Java Doc) public String realMember(Class type, String serialized)(Code)(Java Doc) public String serializedClass(Class type)(Code)(Java Doc) public String serializedMember(Class type, String memberName)(Code)(Java Doc) public boolean shouldSerializeMember(Class definedIn, String fieldName)(Code)(Java Doc)
|
|
|