XMLConfigurator
An XMLConfigurator obtains a configuration by processing an XML document.
In order to use an XMLConfigurator to obtain a configuration, a client must implement three abstractions:
A Configuration specific to the client's requirements.
An enumeration that satisfies the XMLElement interface. This enumeration defines all valid elements for a particular document type. Members must be able to satisfy requests for their qualified name and immediate parentage. Members are also responsible for their own processing (see startElement and endElement.
An XMLConfiguratorState that maintains any state required by the
XMLConfiguratorduring the processing of an XML document. This state may be interrogated by theXMLElements.
Author
Todd L Smith
Parameters
A concrete Configuration class.
A concrete XMLElement class.
A concrete XMLConfiguratorState class.
The initial configurator state.
The input stream which contains the XML document that describes the configuration.
Constructors
Construct a new XMLConfigurator.
Properties
Functions
Using information provided during construction of the configurator, produce the entailed configuration.