public final class JxpFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static javax.xml.parsers.SAXParser |
_parser
the parser *
|
| Modifier | Constructor and Description |
|---|---|
private |
JxpFactory()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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 configjava.io.IOException - if there's IO problemorg.xml.sax.SAXException - if there's parsing exceptionjava.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 configjava.io.IOException - if there's IO problemorg.xml.sax.SAXException - if there's parsing problemjava.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 streamjava.io.IOException - if there's IO problemorg.xml.sax.SAXException - if there's parsing problemjava.lang.Exception - if there's other problem