PersistentComponent¶
-
public abstract class
PersistentComponent
extends Component¶ PersistentComponent represents a component that is persistent. Subclasses should override the loading(URL) and storing(URL) methods to provide their specific implementations.
Author: Hugo Y. K. Lam
Constructors¶
Methods¶
getURL¶
init¶
-
protected void
init
()¶ Initializes this component from the URL specified in the parameter ‘config’. The load() method will then be invoked to handle the loading of this component.
See also:
.load(URL)
,Component.init()
,Component.getParameters()
load¶
load¶
-
public void
load
()¶ Loads this component from the URL representing it.
Throws: - ComponentException – if unable to load this component from the URL.
See also:
.load(URL)
loading¶
store¶
store¶
-
public void
store
()¶ Stores this component to the URL representing it.
Throws: - ComponentException – if unable to store this component from the URL.
See also:
.store(URL)