Class Overview
Converts a proxy created by the CGLIB Enhancer. Such a proxy is recreated while
deserializing the proxy. The converter does only work, if
- the DefaultNamingPolicy is used for the proxy's name
- the proxy uses a factory or only one Callback is registered
- a possible super class has at least a protected default constructor
Note, that the this converter relies on the CGLIBMapper.
Summary
[Expand]
Inherited Methods |
From class
com.thoughtworks.xstream.converters.reflection.SerializableConverter
|
From class
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
void
|
doMarshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context)
|
Object
|
doUnmarshal(Object result, HierarchicalStreamReader reader, UnmarshallingContext context)
|
Object
|
instantiateNewInstance(HierarchicalStreamReader reader, UnmarshallingContext context)
|
void
|
marshal(Object original, HierarchicalStreamWriter writer, MarshallingContext context)
Convert an object to textual data.
|
void
|
marshallField(MarshallingContext context, Object newObj, Field field)
|
boolean
|
shouldUnmarshalTransientFields()
|
Object
|
unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context)
Convert textual data back into an object.
|
Object
|
unmarshallField(UnmarshallingContext context, Object result, Class type, Field field)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.thoughtworks.xstream.converters.Converter
|
From interface
com.thoughtworks.xstream.converters.ConverterMatcher
abstract
boolean
|
canConvert(Class type)
Determines whether the converter can marshall a particular type.
|
|
Public Constructors
Public Methods
public
boolean
canConvert
(Class type)
Convert an object to textual data.
Parameters
source
| The object to be marshalled. |
writer
| A stream to write to. |
context
| A context that allows nested objects to be processed by XStream.
|
Convert textual data back into an object.
Parameters
reader
| The stream to read the text from. |
Protected Methods