Interface SerializableState

All Superinterfaces:
Serializable
All Known Implementing Classes:
ColorModelState, DataBufferState, HashSetState, HashtableState, InterfaceState, RasterState, RenderContextState, RenderingHintsState, RenderingKeyState, SampleModelState, SerializableStateImpl, ShapeState, VectorState

public interface SerializableState extends Serializable
An interface to be implemented by classes instances of which act as serializable proxies for instances of non-serializable classes.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Reconstitutes an object from a serializable version of its state wrapped by an implementation of this interface.
    Retrieve the class of the object which would be returned by invoking getObject().
  • Method Details

    • getObjectClass

      Class getObjectClass()
      Retrieve the class of the object which would be returned by invoking getObject().
      Returns:
      The class of the object which would be returned by getObject().
    • getObject

      Object getObject()
      Reconstitutes an object from a serializable version of its state wrapped by an implementation of this interface.
      Returns:
      Deserialized form of the state.