|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.tools.xml.CompiledConfigParser
public abstract class CompiledConfigParser
An abstract base implementation of a parser that is used to compile configuration definitions into config objects for use by the client and server.
CompiledConfig,
CompiledConfigTask| Constructor Summary | |
|---|---|
CompiledConfigParser()
|
|
| Method Summary | |
|---|---|
protected abstract void |
addRules(org.apache.commons.digester.Digester digester)
Adds the necessary digester rules for parsing the config object. |
protected abstract Serializable |
createConfigObject()
Creates the config object instance that will be populated during the parsing process. |
Serializable |
parseConfig(File source)
Parses the supplied configuration file into a serializable configuration object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompiledConfigParser()
| Method Detail |
|---|
public Serializable parseConfig(File source)
throws IOException,
SAXException
IOException
SAXExceptionprotected abstract Serializable createConfigObject()
protected abstract void addRules(org.apache.commons.digester.Digester digester)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||