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

All Known Implementing Classes:
SerializationStream

public interface SerializationStreamObjectEncoder

This interface controls how objects are encoded into a stream.


Method Summary
 void endInstance(SerializationStreamWriter stream, Object instance)
          Mark the end of instance in the stream.
 StringTable getStringTable()
          Get the string table associated with this encoder.
 boolean startInstance(SerializationStreamWriter stream, Object instance)
          Mark the start of an instance.
 

Method Detail

getStringTable

public StringTable getStringTable()
Get the string table associated with this encoder.

Returns:

startInstance

public boolean startInstance(SerializationStreamWriter stream,
                             Object instance)
                      throws SerializationException
Mark the start of an instance. This method returns true if the method instance has already been stored into the serialization stream. If the object is already stored then no writeObject calls should be made.

Throws:
SerializationException

endInstance

public void endInstance(SerializationStreamWriter stream,
                        Object instance)
Mark the end of instance in the stream.



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