| |
|
| java.lang.Object net.refractions.udig.project.IPersister
All known Subclasses: net.refractions.udig.project.internal.ColorPersister,
IPersister | abstract public class IPersister (Code) | | Allows blackboard to persist objects on the blackboard.
author: Jesse since: 1.0.0 |
Method Summary | |
public IExtension | getExtension() | abstract public Class<T> | getPersistee() Returns the class of the object being persisted. | abstract public T | load(IMemento memento) Loads an object from a memento containing the objects internaObjectl state.
Parameters: memento - A memento. | abstract public void | save(T object, IMemento memento) Saves the internal state of an object instance to a memento. | public void | setExtension(IExtension extension) Sets the extension that persister originated from. |
XPID | final public static String XPID(Code) | | Extension point id. *
|
extension | IExtension extension(Code) | | the extension configuration element *
|
getExtension | public IExtension getExtension()(Code) | | the extension the persister originated from. |
getPersistee | abstract public Class<T> getPersistee()(Code) | | Returns the class of the object being persisted. How this class relates to the class of
objects being persisted (via inheritance) is up to the client of the persister.
The type of the object being persisted (the persistee). |
load | abstract public T load(IMemento memento)(Code) | | Loads an object from a memento containing the objects internaObjectl state.
Parameters: memento - A memento. The object with state restored. |
save | abstract public void save(T object, IMemento memento)(Code) | | Saves the internal state of an object instance to a memento.
Parameters: object - The object being persisted (the persistee). Parameters: memento - The memento in which to save object state. |
setExtension | public void setExtension(IExtension extension)(Code) | | Sets the extension that persister originated from. This method should not be called by client
code.
Parameters: extension - The extension in which the persister was instantiated. |
|
|
|