Package com.thoughtworks.xstream.mapper
Class CGLIBMapper
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.CGLIBMapper
- All Implemented Interfaces:
Mapper
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:
- CGLIBEnhancedConverter
- Since:
- 1.2
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realMember, serializedMember, shouldSerializeMember
-
Field Details
-
DEFAULT_NAMING_MARKER
-
alias
-
-
Constructor Details
-
CGLIBMapper
-
CGLIBMapper
-
-
Method Details
-
serializedClass
Description copied from interface:Mapper
How a class name should be represented in its serialized form.- Specified by:
serializedClass
in interfaceMapper
- Overrides:
serializedClass
in classMapperWrapper
-
realClass
Description copied from interface:Mapper
How a serialized class representation should be mapped back to a real class.- Specified by:
realClass
in interfaceMapper
- Overrides:
realClass
in classMapperWrapper
-