com.thoughtworks.xstream.converters.reflection
Class SerializationMethodInvoker
java.lang.Object
com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker
public class SerializationMethodInvoker
- extends Object
Convenience wrapper to invoke special serialization methods on objects (and perform reflection caching).
- Author:
- Joe Walnes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializationMethodInvoker
public SerializationMethodInvoker()
callReadResolve
public Object callReadResolve(Object result)
- Resolves an object as native serialization does by calling readResolve(), if available.
callWriteReplace
public Object callWriteReplace(Object object)
supportsReadObject
public boolean supportsReadObject(Class type,
boolean includeBaseClasses)
callReadObject
public void callReadObject(Class type,
Object object,
ObjectInputStream stream)
supportsWriteObject
public boolean supportsWriteObject(Class type,
boolean includeBaseClasses)
callWriteObject
public void callWriteObject(Class type,
Object instance,
ObjectOutputStream stream)
Copyright © 2004-2008 XStream. All Rights Reserved.