org.jasig.portal
Class ChannelRenderingBuffer

java.lang.Object
  extended by org.jasig.portal.utils.SAX2FilterImpl
      extended by org.jasig.portal.utils.SAX2BufferImpl
          extended by org.jasig.portal.ChannelRenderingBuffer
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLReader

Deprecated. IChannel rendering code will be replaced with portlet specific rendering code in a future release

@Deprecated
public class ChannelRenderingBuffer
extends SAX2BufferImpl

Channel Rendering buffer allows portal to accumulate a list of all channels that will have to be rendered. This is done by accumulating layout content (full page content minus content provided by the channels). The entire document is accumulated in a buffer. Information about channel elements is passed to a ChannelManager. Once the end of the document is reached, the entire buffer is released to a provided Document Handler.

Version:
$Revision: 19776 $
Author:
Peter Kharchenko

Field Summary
 
Fields inherited from class org.jasig.portal.utils.SAX2BufferImpl
buffering, CHARACTERS, COMMENT, copyCharBlock, ENDCDATA, ENDDOCUMENT, ENDDTD, ENDELEMENT, ENDENTITY, ENDPREFIXMAPPING, ERROR, eventArguments, eventTypes, FATALERROR, IGNORABLEWHITESPACE, NOTATIONDECL, outputAtDocumentEnd, PROCESSINGINSTRUCTION, SKIPPEDENTITY, STARTCDATA, STARTDOCUMENT, STARTDTD, STARTELEMENT, STARTENTITY, STARTPREFIXMAPPING, UNPARSEDENTITYDECL, WARNING
 
Fields inherited from class org.jasig.portal.utils.SAX2FilterImpl
contentHandler, dtdHandler, entityResolver, errorHandler, lexicalHandler, locator
 
Constructor Summary
ChannelRenderingBuffer(ChannelManager chanman, boolean ccaching, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
ChannelRenderingBuffer(XMLReader parent, ChannelManager chanman, boolean ccaching, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
 
Method Summary
 void endDocument()
          Deprecated. Filter an end document event.
 void endElement(String url, String localName, String qName)
          Deprecated. Filter an end element event.
 void startDocument()
          Deprecated. Filter a start document event.
 void startElement(String url, String localName, String qName, Attributes atts)
          Deprecated. Filter a start element event.
 
Methods inherited from class org.jasig.portal.utils.SAX2BufferImpl
characters, clearBuffer, comment, endCDATA, endDTD, endEntity, endPrefixMapping, error, fatalError, ignorableWhitespace, isEmpty, notationDecl, outputBuffer, outputBuffer, processingInstruction, setDocumentLocator, setOutputAtDocumentEnd, skippedEntity, startBuffering, startCDATA, startDTD, startEntity, startPrefixMapping, stopBuffering, unparsedEntityDecl, warning
 
Methods inherited from class org.jasig.portal.utils.SAX2FilterImpl
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, parse, parse, resolveEntity, setAllHandlers, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setParent, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelRenderingBuffer

public ChannelRenderingBuffer(XMLReader parent,
                              ChannelManager chanman,
                              boolean ccaching,
                              HttpServletRequest request,
                              HttpServletResponse response)
Deprecated. 

ChannelRenderingBuffer

public ChannelRenderingBuffer(ChannelManager chanman,
                              boolean ccaching,
                              HttpServletRequest request,
                              HttpServletResponse response)
Deprecated. 
Method Detail

startDocument

public void startDocument()
                   throws SAXException
Deprecated. 
Description copied from class: SAX2FilterImpl
Filter a start document event.

Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class SAX2BufferImpl
Throws:
SAXException - The client may throw an exception during processing.
See Also:
ContentHandler.startDocument()

endDocument

public void endDocument()
                 throws SAXException
Deprecated. 
Description copied from class: SAX2FilterImpl
Filter an end document event.

Specified by:
endDocument in interface ContentHandler
Overrides:
endDocument in class SAX2BufferImpl
Throws:
SAXException - The client may throw an exception during processing.
See Also:
ContentHandler.endDocument()

startElement

public void startElement(String url,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
Deprecated. 
Description copied from class: SAX2FilterImpl
Filter a start element event.

Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class SAX2BufferImpl
Parameters:
url - The element's Namespace URI, or the empty string.
localName - The element's local name, or the empty string.
qName - The element's qualified (prefixed) name, or the empty string.
atts - The element's attributes.
Throws:
SAXException - The client may throw an exception during processing.
See Also:
ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)

endElement

public void endElement(String url,
                       String localName,
                       String qName)
                throws SAXException
Deprecated. 
Description copied from class: SAX2FilterImpl
Filter an end element event.

Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class SAX2BufferImpl
Parameters:
url - The element's Namespace URI, or the empty string.
localName - The element's local name, or the empty string.
qName - The element's qualified (prefixed) name, or the empty string.
Throws:
SAXException - The client may throw an exception during processing.
See Also:
ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)


Copyright © 2010 Jasig. All Rights Reserved.