public class Config extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Config.ConfigElement
The ConfigElement is an <option> or <argument> tag
in the xml configuration file.
|
class |
Config.ConfigHandler
SAX-Handler for reading the configuration file.
|
| Modifier and Type | Field and Description |
|---|---|
List<Config.ConfigElement> |
arguments
All @Arguments.
|
List<Config.ConfigElement> |
options
All @Options.
|
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
static Config |
parse(InputSource xml)
Parses a XML file and returns a Config object holding the information.
|
public List<Config.ConfigElement> options
public List<Config.ConfigElement> arguments
public static Config parse(InputSource xml) throws IOException, SAXException
xml - source of the xml dataIOExceptionSAXExceptionCopyright © 2003-2014 Kohsuke Kawaguchi. All Rights Reserved.