org.jasig.portal.car
Class ChannelTypeTagHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.jasig.portal.car.ChannelTypeTagHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ChannelTypeTagHandler
extends DefaultHandler

Handles the channel-type tags in CAR deployment descriptors enabling adding of channel types from within CARs automatically.

Version:
$Revision: 19776 $
Author:
Mark Boyd mark.boyd@engineer.com

Constructor Summary
ChannelTypeTagHandler(ParsingContext ctx)
           
 
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
 

Constructor Detail

ChannelTypeTagHandler

public ChannelTypeTagHandler(ParsingContext ctx)
Parameters:
ctx -
Method Detail

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
Handle start element events.

Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler
Throws:
SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
Handle the characters event to capture textual content for elements.

Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler
Throws:
SAXException

endElement

public void endElement(String namespaceURI,
                       String localName,
                       String qName)
                throws SAXException
Handle the closing element event.

Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler
Throws:
SAXException


Copyright © 2010 Jasig. All Rights Reserved.