public interface

Serializer

com.google.gwt.user.client.rpc.impl.Serializer
Known Indirect Subclasses

Class Overview

Contract for any class that can serialize and restore class into a serialization stream.

Summary

Public Methods
abstract void deserialize(SerializationStreamReader stream, Object instance, String typeSignature)
Restore an instantiated object from the serialized stream.
abstract String getSerializationSignature(Class<?> clazz)
Return the serialization signature for the given type.
abstract Object instantiate(SerializationStreamReader stream, String typeSignature)
Instantiate an object of the given typeName from the serialized stream.
abstract void serialize(SerializationStreamWriter stream, Object instance, String typeSignature)
Save an instance into the serialization stream.

Public Methods

public abstract void deserialize (SerializationStreamReader stream, Object instance, String typeSignature)

Restore an instantiated object from the serialized stream.

public abstract String getSerializationSignature (Class<?> clazz)

Return the serialization signature for the given type.

public abstract Object instantiate (SerializationStreamReader stream, String typeSignature)

Instantiate an object of the given typeName from the serialized stream.

public abstract void serialize (SerializationStreamWriter stream, Object instance, String typeSignature)

Save an instance into the serialization stream.