com.google.gwt.user.client.rpc
Interface Serializer


public interface Serializer

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


Method Summary
 Object deserialize(SerializationStreamReader stream)
          Restore an object from the serialized stream.
 String getSerializationSignature(String serializedTypeName)
          Return the serialization signature for the serialized type name.
 void serialize(SerializationStreamWriter buffer, Object instance)
          Save an instance into the serialization stream.
 

Method Detail

getSerializationSignature

public String getSerializationSignature(String serializedTypeName)
Return the serialization signature for the serialized type name.


deserialize

public Object deserialize(SerializationStreamReader stream)
                   throws SerializationException
Restore an object from the serialized stream.

Throws:
SerializationException

serialize

public void serialize(SerializationStreamWriter buffer,
                      Object instance)
               throws SerializationException
Save an instance into the serialization stream.

Throws:
SerializationException


This javadoc distribution was not produced by Google. The official documentation is here.