Interface StoreSource
public interface StoreSource
An interface for component configurations that can be serialised to
XML and subsequently stored and restored to a backing store using
a
StoreControlFrame.- Version:
- $Id$
- Author:
- Peter W. Draper
-
Method Summary
Modifier and TypeMethodDescriptionReturn a name for this application.Return a name for the configuration store (without any directory information).Get a name for the top-level element associated with this configuration.voidrestoreState(Element rootElement) Restore a previously saved configuration created by thesaveState(Element)method.voidSave the configuration with the given Element as the root of the document.
-
Method Details
-
saveState
Save the configuration with the given Element as the root of the document. -
restoreState
Restore a previously saved configuration created by thesaveState(Element)method. -
getApplicationName
String getApplicationName()Return a name for this application. This is used to create a directory for the configuration store. -
getStoreName
String getStoreName()Return a name for the configuration store (without any directory information). -
getTagName
String getTagName()Get a name for the top-level element associated with this configuration.
-