| java.lang.Object org.xml.sax.helpers.DefaultHandler org.apache.ojb.broker.metadata.ConnectionDescriptorXmlHandler
ConnectionDescriptorXmlHandler | public class ConnectionDescriptorXmlHandler extends DefaultHandler implements RepositoryElements,IsolationLevels(Code) | | The handler catches Parsing events raised by the xml-parser
and builds up the
ConnectionRepository that is used
within the OJB.
TODO: Reading of metadata are split in two classes
RepositoryXmlHandler and
ConnectionDescriptorXmlHandler . Thus we should only read relevant tags in this
classes. In further versions we should split repository.dtd in two parts, one for connetion
metadata, one for pc object metadata.
author: Armin Waibel version: $Id: ConnectionDescriptorXmlHandler.java,v 1.11.2.3 2005/04/26 03:41:36 mkalen Exp $ |
ConnectionDescriptorXmlHandler | public ConnectionDescriptorXmlHandler(ConnectionRepository cr)(Code) | | build a handler that fills the given repository
from an XML file.
|
endElement | public void endElement(String uri, String name, String qName)(Code) | | endElement callback. most elements are build up from here.
|
startDocument | public void startDocument()(Code) | | startDocument callback, nothing to do here.
|
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)
|
|
|