Top Description Fields Constructors Methods
com.thoughtworks.xstream.converters.reflection

public Class SerializationMethodInvoker

extends Object
implements Caching
Class Inheritance
All Implemented Interfaces
com.thoughtworks.xstream.core.Caching
Imports
java.io.ObjectInputStream, .ObjectOutputStream, com.thoughtworks.xstream.core.Caching, com.thoughtworks.xstream.core.util.SerializationMembers

Deprecated

As of 1.4.8, moved into internal util package.

Convenience wrapper to invoke special serialization methods on objects (and perform reflection caching).
Authors
Joe Walnes, Jörg Schaible

Field Summary

Modifier and TypeField and Description
pack-priv SerializationMembers

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
callReadObject(Class<T> type, Object object, ObjectInputStream stream)

Deprecated As of 1.4.8, moved into internal util package.
public Object
callReadResolve(Object result)

Deprecated As of 1.4.8, moved into internal util package.
Resolves an object as native serialization does by calling readResolve(), if available.
public void
callWriteObject(Class<T> type, Object instance, ObjectOutputStream stream)

Deprecated As of 1.4.8, moved into internal util package.
public Object
callWriteReplace(Object object)

Deprecated As of 1.4.8, moved into internal util package.
public void
flushCache()

Implements com.thoughtworks.xstream.core.Caching.flushCache.

Deprecated As of 1.4.8, moved into internal util package.
public boolean
supportsReadObject(Class<T> type, boolean includeBaseClasses)

Deprecated As of 1.4.8, moved into internal util package.
public boolean
supportsWriteObject(Class<T> type, boolean includeBaseClasses)

Deprecated As of 1.4.8, moved into internal util package.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serializationMembersback to summary
pack-priv SerializationMembers serializationMembers

Constructor Detail

SerializationMethodInvokerback to summary
public SerializationMethodInvoker()

Method Detail

callReadObjectback to summary
public void callReadObject(Class<T> type, Object object, ObjectInputStream stream)

Deprecated

As of 1.4.8, moved into internal util package.

callReadResolveback to summary
public Object callReadResolve(Object result)

Deprecated

As of 1.4.8, moved into internal util package.

Resolves an object as native serialization does by calling readResolve(), if available.

callWriteObjectback to summary
public void callWriteObject(Class<T> type, Object instance, ObjectOutputStream stream)

Deprecated

As of 1.4.8, moved into internal util package.

callWriteReplaceback to summary
public Object callWriteReplace(Object object)

Deprecated

As of 1.4.8, moved into internal util package.

flushCacheback to summary
public void flushCache()

Implements com.thoughtworks.xstream.core.Caching.flushCache.

Deprecated

As of 1.4.8, moved into internal util package.

supportsReadObjectback to summary
public boolean supportsReadObject(Class<T> type, boolean includeBaseClasses)

Deprecated

As of 1.4.8, moved into internal util package.

supportsWriteObjectback to summary
public boolean supportsWriteObject(Class<T> type, boolean includeBaseClasses)

Deprecated

As of 1.4.8, moved into internal util package.