| Modifier and Type | Class and Description |
|---|---|
| public class | Config.
SAX-Handler for reading the configuration file. |
| Modifier and Type | Field and Description |
|---|---|
| public List | arguments
All @Arguments. |
| public List | options
All @Options. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Config | Returns: The parsed configuration.source of the xml data xml)Parses a XML file and returns a Config object holding the information. |
| arguments | back to summary |
|---|---|
| public List<ConfigElement> arguments All @Arguments. | |
| options | back to summary |
|---|---|
| public List<ConfigElement> options All @Options. | |
| Config | back to summary |
|---|---|
| public Config() | |
| parse | back to summary |
|---|---|
| public static Config parse(InputSource xml) throws IOException, SAXException Parses a XML file and returns a Config object holding the information.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Config | |
| pack-priv ConfigElement |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | startElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName, Attributes The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object. attributes)Overrides org. Implements org. Receive notification of the start of an element. |
| config | back to summary |
|---|---|
| pack-priv Config config | |
| currentCE | back to summary |
|---|---|
| pack-priv ConfigElement currentCE | |
| ConfigHandler | back to summary |
|---|---|
| public ConfigHandler(Config config) | |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the start of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
| |