org.jcreme.state
Class BaseMemento
java.lang.Object
org.jcreme.state.BaseMemento
- All Implemented Interfaces:
- Memento
- Direct Known Subclasses:
- BaseUIMemento
- public abstract class BaseMemento
- extends java.lang.Object
- implements Memento
This class provides convenience methods for actual Memento implementations.
- Version:
- $Revision: 1.1 $
- Author:
- $Author: dbregeon $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STORED_OBJECT_TYPE_PREFERENCE
public static final java.lang.String STORED_OBJECT_TYPE_PREFERENCE
- See Also:
- Constant Field Values
SUB_MEMENTO_CONTENTS_PREFERENCE
public static final java.lang.String SUB_MEMENTO_CONTENTS_PREFERENCE
- See Also:
- Constant Field Values
SUB_MEMENTO_TYPE_PREFERENCE
public static final java.lang.String SUB_MEMENTO_TYPE_PREFERENCE
- See Also:
- Constant Field Values
BaseMemento
public BaseMemento()
buildObject
protected java.lang.Object buildObject(java.lang.String type)
throws MementoException
- Throws:
MementoException
storeSubMemento
protected void storeSubMemento(java.util.prefs.Preferences node,
Memento memento,
java.lang.Class objectType)
throws MementoException
- Parameters:
node - memento - objectType -
- Throws:
MementoException
loadSubMemento
protected Memento loadSubMemento(java.util.prefs.Preferences node)
throws MementoException
- Parameters:
node -
- Returns:
-
- Throws:
MementoException
getObjectType
protected java.lang.Class getObjectType(java.util.prefs.Preferences node)
throws MementoException
- Parameters:
node -
- Returns:
-
- Throws:
MementoException
Copyright 2006 null. All Rights Reserved.