public class

CGLIBMapper

extends MapperWrapper
java.lang.Object
   ↳ com.thoughtworks.xstream.mapper.MapperWrapper
     ↳ com.thoughtworks.xstream.mapper.CGLIBMapper

Class Overview

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

Summary

Nested Classes
interface CGLIBMapper.Marker  
Public Constructors
CGLIBMapper(Mapper wrapped)
CGLIBMapper(Mapper wrapped, String alias)
Public Methods
Class realClass(String elementName)
How a serialized class representation should be mapped back to a real class.
String serializedClass(Class type)
How a class name should be represented in its serialized form.
[Expand]
Inherited Methods
From class com.thoughtworks.xstream.mapper.MapperWrapper
From class java.lang.Object
From interface com.thoughtworks.xstream.mapper.Mapper

Public Constructors

public CGLIBMapper (Mapper wrapped)

public CGLIBMapper (Mapper wrapped, String alias)

Public Methods

public Class realClass (String elementName)

How a serialized class representation should be mapped back to a real class.

public String serializedClass (Class type)

How a class name should be represented in its serialized form.