|
||||||||||
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 |
---|
Mapper.ImplicitCollectionMapping, Mapper.Null |
Constructor Summary | |
---|---|
CachingMapper(ClassMapper wrapped)
Deprecated. As of 1.2, use CachingMapper(Mapper) |
|
CachingMapper(Mapper wrapped)
|
Method Summary | |
---|---|
java.lang.Class |
realClass(java.lang.String elementName)
How a serialized class representation should be mapped back to a real class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingMapper(Mapper wrapped)
public CachingMapper(ClassMapper wrapped)
CachingMapper(Mapper)
Method Detail |
---|
public java.lang.Class realClass(java.lang.String elementName)
Mapper
realClass
in interface Mapper
realClass
in class MapperWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |