|
||||||||||
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.CGLIBMapper
public class CGLIBMapper
Mapper that detects proxies generated by the CGLIB enhancer. The implementation modifies the name, so that it can identify these types. Note, that this mapper relies on the CGLIB converters:
Nested Class Summary | |
---|---|
static interface |
CGLIBMapper.Marker
|
Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper |
---|
Mapper.ImplicitCollectionMapping, Mapper.Null |
Constructor Summary | |
---|---|
CGLIBMapper(Mapper wrapped)
|
|
CGLIBMapper(Mapper wrapped,
java.lang.String alias)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CGLIBMapper(Mapper wrapped)
public CGLIBMapper(Mapper wrapped, java.lang.String alias)
Method Detail |
---|
public java.lang.String serializedClass(java.lang.Class type)
Mapper
serializedClass
in interface Mapper
serializedClass
in class MapperWrapper
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 |