org.jasig.portal.car
Class ComponentTagHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jasig.portal.car.ComponentTagHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class ComponentTagHandler
- extends DefaultHandler
The top level SAX event handler that receives event from the SAX parser
when parsing a deployment descriptor. The top level element in a deployment
descriptor can contain any number of children all of which can conditionally
be wrapped in a processIf tag allowing for conditional parsing of one to many
elements. This handler performs the switching between a filtering handler
and a handler that routes events to the appropriate handlers of specific
subsection of the descriptor tree.
- Version:
- $Revision: 19776 $
- Author:
- Mark Boyd mark.boyd@engineer.com
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
error
public void error(SAXParseException exception)
throws SAXException
- Specified by:
error in interface ErrorHandler- Overrides:
error in class DefaultHandler
- Throws:
SAXException
fatalError
public void fatalError(SAXParseException exception)
throws SAXException
- Specified by:
fatalError in interface ErrorHandler- Overrides:
fatalError in class DefaultHandler
- Throws:
SAXException
warning
public void warning(SAXParseException exception)
throws SAXException
- Specified by:
warning in interface ErrorHandler- Overrides:
warning in class DefaultHandler
- Throws:
SAXException
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
- Throws:
SAXException
Copyright © 2010 Jasig. All Rights Reserved.