|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.fop.configuration.ConfigurationReader
Entry class for reading configuration from file and creating a configuration class. Example of typical use:
ConfigurationReader reader = new ConfigurationReader ("config.xml","standard");
try {
reader.start();
}
catch (org.apache.fop.apps.FOPException error) {
reader.dumpError(error);
}
Once the configuration has been setup, the information can be accessed with
the methods of StandardConfiguration.
| Constructor Summary | |
ConfigurationReader(org.xml.sax.InputSource filename)
creates a configuration reader |
|
| Method Summary | |
static org.xml.sax.XMLReader |
createParser()
creates a SAX parser |
void |
dumpError(java.lang.Exception e)
Dumps an error |
void |
setDumpError(boolean dumpError)
long or short error messages |
void |
start()
intantiates parser and starts parsing of config file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigurationReader(org.xml.sax.InputSource filename)
filename - the file which contains the configuration information| Method Detail |
public void start()
throws FOPException
FOPException
public static org.xml.sax.XMLReader createParser()
throws FOPException
FOPExceptionpublic void dumpError(java.lang.Exception e)
public void setDumpError(boolean dumpError)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||