| java.lang.Object org.xml.sax.helpers.DefaultHandler org.continuent.sequoia.controller.xml.ControllerParser
ControllerParser | public ControllerParser(ControllerConfiguration configure) throws Exception(Code) | | Creates a new ControllerParser instance. This method
Instanciates also a new ControllerHandler .
Parameters: configure - a ControllerConfiguration object thatcontains the configuration to update with values from xml parsing throws: Exception - i private String doctype; f an error occurs |
endElement | public void endElement(String uri, String localName, String name) throws SAXException(Code) | | DatabasesParser for end of element.
Parameters: uri - name space URI Parameters: localName - local name Parameters: name - element raw name exception: SAXException - if an error occurs |
error | public void error(SAXParseException e) throws SAXException(Code) | | Handles notification of a recoverable parser error.
Parameters: e - the warning information encoded as an exception. exception: SAXException - any SAX exception, possibly wrapping anotherexception |
fatalError | public void fatalError(SAXParseException e) throws SAXException(Code) | | Handles notification of a non-recoverable parser error.
Parameters: e - the warning information encoded as an exception. exception: SAXException - any SAX exception, possibly wrapping anotherexception. |
readXML | public void readXML(String xml, boolean validateBeforeParsing) throws IOException, SAXException(Code) | | Parses an XML formatted string according to SEQUOIA-CONTROLLER DTD.
Parameters: xml - a String reference to the xml to parse Parameters: validateBeforeParsing - if validation should be checked before parsing exception: SAXException - if an error occurs exception: IOException - if an error occurs |
readXML | public void readXML(FileReader fileReader, boolean validateBeforeParsing) throws IOException, SAXException(Code) | | Parses an XML formatted file according to SEQUOIA-CONTROLLER DTD.
Parameters: fileReader - a FileReader reference to the xml to parse Parameters: validateBeforeParsing - if validation should be checked before parsing exception: SAXException - if an error occurs exception: IOException - if an error occurs |
startElement | public void startElement(String uri, String localName, String name, Attributes atts) throws SAXException(Code) | | Analyzes an element first line.
Parameters: uri - name space URI Parameters: localName - local name Parameters: name - element raw name Parameters: atts - element attributes exception: SAXException - if an error occurs |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|