|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.onemind.jxp.JxpFactory
public final class JxpFactory
The JxpPageSource factory
Field Summary | |
---|---|
private static javax.xml.parsers.SAXParser |
_parser
the parser * |
Constructor Summary | |
---|---|
private |
JxpFactory()
Constructor |
Method Summary | |
---|---|
static JxpPageSource |
getPageSource(java.lang.String configFile)
Get the page source from the config |
private static javax.xml.parsers.SAXParser |
getParser()
set up |
static JxpProcessor |
getProcessor(java.io.InputStream config)
Get the processor from the config |
static JxpProcessor |
getProcessor(java.lang.String configFile)
Get the processor from the config |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static javax.xml.parsers.SAXParser _parser
Constructor Detail |
---|
private JxpFactory()
Method Detail |
---|
private static javax.xml.parsers.SAXParser getParser() throws java.lang.Exception
java.lang.Exception
- if there's problempublic static JxpPageSource getPageSource(java.lang.String configFile) throws org.xml.sax.SAXException, java.io.IOException, java.lang.Exception
configFile
- the config
java.io.IOException
- if there's IO problem
org.xml.sax.SAXException
- if there's parsing exception
java.lang.Exception
- if there's other problempublic static JxpProcessor getProcessor(java.lang.String configFile) throws org.xml.sax.SAXException, java.io.IOException, java.lang.Exception
configFile
- the config
java.io.IOException
- if there's IO problem
org.xml.sax.SAXException
- if there's parsing problem
java.lang.Exception
- if there's other problempublic static JxpProcessor getProcessor(java.io.InputStream config) throws org.xml.sax.SAXException, java.io.IOException, java.lang.Exception
config
- the config input stream
java.io.IOException
- if there's IO problem
org.xml.sax.SAXException
- if there's parsing problem
java.lang.Exception
- if there's other problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |