|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An ActivityConfiguration object encapsulates configuration
information relating to a single Activity. It is optional
whether or not an Activity makes use of an
ActivityConfiguration object. If so, the Activity
must implement the ActivityConfigurationCreator interface,
which defines a factory method responsible for creating the appropriate
ActivityConfiguration object.
As well as implementing the initialise method, an
ActivityConfiguration implementation should provide appropriate
methods for accessing the configuration information in a convenient manner.
These will be used by the Activity that is being configured.
Activity.getActivityConfiguration(),
ActivityConfigurationCreator,
ActivityConfigurationException| Method Summary | |
void |
initialise(org.w3c.dom.Document document)
Parses the configuration document, initialising any fields that are necessary for the accessor methods to operate. |
| Method Detail |
public void initialise(org.w3c.dom.Document document)
throws ActivityConfigurationException
ActivityCreator class.
document - The Document containing the activity
configuration information.
ActivityConfigurationException - If there is a problem initialising the
ActivityConfiguration object. This may be
caused by the document containing invalid information, or
perhaps by a system problem within the initialisation code.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||