public class Config
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Config.ConfigHandler
SAX-Handler for reading the configuration file.
|
Modifier and Type | Field and Description |
---|---|
java.util.List<ConfigElement> |
arguments
All @Arguments.
|
java.util.List<ConfigElement> |
options
All @Options.
|
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
static Config |
parse(org.xml.sax.InputSource xml)
Parses a XML file and returns a Config object holding the information.
|
public java.util.List<ConfigElement> options
public java.util.List<ConfigElement> arguments
public static Config parse(org.xml.sax.InputSource xml) throws java.io.IOException, org.xml.sax.SAXException
xml
- source of the xml datajava.io.IOException
org.xml.sax.SAXException