Interface SerializableState
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ColorModelState,DataBufferState,HashSetState,HashtableState,InterfaceState,RasterState,RenderContextState,RenderingHintsState,RenderingKeyState,SampleModelState,SerializableStateImpl,ShapeState,VectorState
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 TypeMethodDescriptionReconstitutes 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 invokinggetObject().
-
Method Details
-
getObjectClass
Class getObjectClass()Retrieve the class of the object which would be returned by invokinggetObject().- 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.
-