|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.controller.xml.ControllerParser
Allows to parse an XML content containing the description of the controller confirming to C-JDBC-controller.dtd.
| Field Summary | |
(package private) static Trace |
logger
Logger instance. |
private org.xml.sax.XMLReader |
parser
XML parser. |
| Constructor Summary | |
ControllerParser(ControllerFactory configure)
Creates a new ControllerParser instance. |
|
| Method Summary | |
void |
readXML(java.lang.String xml)
Parses an XML content according to C-JDBC-controller DTD. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static Trace logger
private org.xml.sax.XMLReader parser
| Constructor Detail |
public ControllerParser(ControllerFactory configure)
throws org.xml.sax.SAXException
ControllerParser instance. This method Instanciates also a
new ControllerHandler.
configure - a ControllerFactory object that contains
the configuration to update with values from xml parsing
org.xml.sax.SAXException - if an error occurs| Method Detail |
public void readXML(java.lang.String xml)
throws java.io.IOException,
org.xml.sax.SAXException
xml - a String containing the XML content to parse
org.xml.sax.SAXException - if an error occurs
java.io.IOException - if an error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||