PersistenceDelegate
Class PersistenceDelegate
- java.lang.Object
-
- java.beans.PersistenceDelegate
- Direct Known Subclasses:
- DefaultPersistenceDelegate
public abstract class PersistenceDelegate extends Object
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. Instead of associating the responsibility of persistence with the class itself as is done, for example, by the readObject
and writeObject
methods used by the ObjectOutputStream
, streams like the XMLEncoder
which use this delegation model can have their behavior controlled independe