|
Jacson | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.spieleck.config.Config
Manager and Factory for Configurations.
Field Summary | |
protected static ConfigFileNode |
defaultConfig
Semi-Singleton: The default setup is an singleton while still many setup objects may coexist. |
protected static java.util.List |
listeners
Registered listeners for change of data |
Method Summary | |
static void |
addListener(ConfigListener listener)
We supply a preliminary api to inform listeners about a change in configuration. |
static ConfigNode |
getConfig()
Get the global visible (singleton) config node. |
protected static void |
handleChange(ConfigNode s)
|
protected static javax.xml.parsers.SAXParser |
newSAXParser()
Obtain a new parser. |
static ConfigFileNode |
parse(org.xml.sax.InputSource is)
Parse setup tree from an InputSource without ConfigParamMap |
static ConfigFileNode |
parse(org.xml.sax.InputSource is,
ConfigParamMap pm)
Parse setup tree from an InputSource with ConfigParamMap |
static void |
removeListener(ConfigListener listener)
|
static ConfigNode |
setConfig(ConfigFileNode setup)
Set the global visible (singleton) config node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.util.List listeners
protected static ConfigFileNode defaultConfig
Method Detail |
public static ConfigFileNode parse(org.xml.sax.InputSource is) throws java.io.IOException, org.xml.sax.SAXException
ConfigParamMap
ConfigFileNode
java.io.IOException
org.xml.sax.SAXException
public static ConfigFileNode parse(org.xml.sax.InputSource is, ConfigParamMap pm) throws java.io.IOException, org.xml.sax.SAXException
ConfigParamMap
ConfigFileNode
java.io.IOException
org.xml.sax.SAXException
protected static javax.xml.parsers.SAXParser newSAXParser() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public static ConfigNode setConfig(ConfigFileNode setup)
public static ConfigNode getConfig()
public static void addListener(ConfigListener listener)
public static void removeListener(ConfigListener listener)
protected static void handleChange(ConfigNode s)
|
Spieleck | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |