API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. PersistenceDelegate View Source
Author(s)
Philip Milne
Since
1.4
Version
1.12 11/17/05
Serial
Hierarchy
 Object
      PersistenceDelegate
Implements
Subclasses
Description
publicabstract abstract class PersistenceDelegate
  The PersistenceDelegate class takes the responsibility for expressing the state of an instance of a given class in terms of the methods in the class's public API.
See also:    XMLEncoder
Constructors
public PersistenceDelegate ()
Methods
Hide/Show inherited methods
protected void initialize (Class<Object> type, Object oldInstance, Object newInstance, Encoder out)
  Produce a series of statements with side effects on newInstance so that the new instance becomes equivalent to oldInstance.
protectedabstract Expression instantiate (Object oldInstance, Encoder out)
  Returns an expression whose value is oldInstance.
protected boolean mutatesTo (Object oldInstance, Object newInstance)
  Returns true if an equivalent copy of oldInstance may be created by applying a series of statements to newInstance.
public void writeObject (Object oldInstance, Encoder out)
  The writeObject is a single entry point to the persistence and is used by a Encoder in the traditional mode of delegation.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar