|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.jasig.portal.car.DatabaseTagHandler
public class DatabaseTagHandler
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.
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Handle the characters event to capture textual content for elements. |
void |
endElement(String namespaceURI,
String localName,
String qName)
Handle the closing element event. |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
Handle start element events. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXException
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXException
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||