|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.CachingMapper
public class CachingMapper
Mapper that caches which names map to which classes. Prevents repetitive searching and class loading.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper |
---|
com.thoughtworks.xstream.mapper.Mapper.ImplicitCollectionMapping, com.thoughtworks.xstream.mapper.Mapper.Null |
Constructor Summary | |
---|---|
CachingMapper(com.thoughtworks.xstream.alias.ClassMapper wrapped)
Deprecated. As of 1.2, use CachingMapper(Mapper) |
|
CachingMapper(com.thoughtworks.xstream.mapper.Mapper wrapped)
|
Method Summary | |
---|---|
java.lang.Class |
realClass(java.lang.String elementName)
|
Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper |
---|
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, attributeForClassDefiningField, attributeForEnumType, attributeForImplementationClass, attributeForReadResolveField, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, lookupMapperOfType, realMember, serializedClass, serializedMember, shouldSerializeMember |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingMapper(com.thoughtworks.xstream.mapper.Mapper wrapped)
public CachingMapper(com.thoughtworks.xstream.alias.ClassMapper wrapped)
CachingMapper(Mapper)
Method Detail |
---|
public java.lang.Class realClass(java.lang.String elementName)
realClass
in interface com.thoughtworks.xstream.mapper.Mapper
realClass
in class com.thoughtworks.xstream.mapper.MapperWrapper
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |