|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.utils.SAX2FilterImpl
org.jasig.portal.CharacterCachingChannelIncorporationFilter
A filter that incorporates channel content into the main SAX stream.
Unlike a regular ChannelIncorporationFilter
, this class can
feed cache character buffers to the CachingSerializer
.
Constructor Summary | |
CharacterCachingChannelIncorporationFilter(org.xml.sax.ContentHandler handler,
ChannelManager chanm,
boolean ccaching)
|
Method Summary | |
void |
endDocument()
Filter an end document event. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Filter an end element event. |
java.util.Vector |
getChannelIdBlocks()
Obtain a vector of channels to be inserted into a current character cache. |
java.util.Vector |
getSystemCCacheBlocks()
Obtain system character cache blocks. |
void |
startDocument()
Filter a start document event. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Filter a start element event. |
Methods inherited from class org.jasig.portal.utils.SAX2FilterImpl |
characters, comment, endCDATA, endDTD, endEntity, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setAllHandlers, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setParent, setProperty, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CharacterCachingChannelIncorporationFilter(org.xml.sax.ContentHandler handler, ChannelManager chanm, boolean ccaching)
Method Detail |
public java.util.Vector getSystemCCacheBlocks()
Vector
of system character blocks in between which channel renderings should be inserted.public java.util.Vector getChannelIdBlocks()
Vector
of cache entry blocks corresponding to channel
subscribe Id(s) in an order in which they appear in the overall document.public void startDocument() throws org.xml.sax.SAXException
SAX2FilterImpl
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class SAX2FilterImpl
org.xml.sax.SAXException
- The client may throw
an exception during processing.ContentHandler.startDocument()
public void endDocument() throws org.xml.sax.SAXException
SAX2FilterImpl
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class SAX2FilterImpl
org.xml.sax.SAXException
- The client may throw
an exception during processing.ContentHandler.endDocument()
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
SAX2FilterImpl
startElement
in interface org.xml.sax.ContentHandler
startElement
in class SAX2FilterImpl
uri
- 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.
org.xml.sax.SAXException
- The client may throw
an exception during processing.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
SAX2FilterImpl
endElement
in interface org.xml.sax.ContentHandler
endElement
in class SAX2FilterImpl
uri
- 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.
org.xml.sax.SAXException
- The client may throw
an exception during processing.ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |