|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.args4j.Config
public class Config
Metadataconfiguration. This class holds all metadata for a class, mainly a list of @Options and @Arguments.
| Nested Class Summary | |
|---|---|
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. |
| Field Summary | |
|---|---|
java.util.List<Config.ConfigElement> |
arguments
All @Arguments. |
java.util.List<Config.ConfigElement> |
options
All @Options. |
| Constructor Summary | |
|---|---|
Config()
|
|
| Method Summary | |
|---|---|
static Config |
parse(org.xml.sax.InputSource xml)
Parses a XML file and returns a Config object holding the information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.List<Config.ConfigElement> options
public java.util.List<Config.ConfigElement> arguments
| Constructor Detail |
|---|
public Config()
| Method Detail |
|---|
public static Config parse(org.xml.sax.InputSource xml)
throws java.io.IOException,
org.xml.sax.SAXException
xml - source of the xml data
java.io.IOException
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||