org.jasig.portal.car
Class ChannelDefinitionTagHandler

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

public class ChannelDefinitionTagHandler
extends DefaultHandler

Processes all channel definitions located in a CAR and instantiates and delegates to an inner content handler for each block to do the real work of publishing.

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

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

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.