| java.lang.Object org.xml.sax.helpers.DefaultHandler org.jasig.portal.car.DatabaseTagHandler
DatabaseTagHandler | public class DatabaseTagHandler extends DefaultHandler (Code) | | Processes the database tag looking for two element that should each
contain a file path suitable for loading via classloader.findResource().
The "tables" tag should point to a file having the appropriate format for
creating tables in the portal's database using DbLoader and hence should be
structured identically to uPortal's default data structure definition file
tables.xml. The "data" tag is optional but if included should point to file
having the appropriate format for loading with DbLoader the tables created
by tables.xml and hence should be structured identically to uPortal's
default data set file data.xml.
author: Mark Boyd mark.boyd@engineer.com version: $Revision: 36690 $ $Date: 2006-08-25 14:03:25 -0700 (Fri, 25 Aug 2006) $ |
Constructor Summary | |
| DatabaseTagHandler(ParsingContext ctx) Construct a DatabaseHandler that receives events from parsing
a channel archive deployment descriptor but only for any contained
database elements and their children. |
DatabaseTagHandler | DatabaseTagHandler(ParsingContext ctx)(Code) | | Construct a DatabaseHandler that receives events from parsing
a channel archive deployment descriptor but only for any contained
database elements and their children.
Parameters: ctx - |
characters | public void characters(char[] ch, int start, int length) throws SAXException(Code) | | Handle the characters event to capture textual content for elements.
|
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)
|
|
|