org.jasig.portal.channels.webproxy
Class CWebProxyXHTMLURLFilter

java.lang.Object
  extended by org.jasig.portal.utils.SAX2FilterImpl
      extended by org.jasig.portal.channels.webproxy.CWebProxyURLFilter
          extended by org.jasig.portal.channels.webproxy.CWebProxyXHTMLURLFilter
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLReader

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class CWebProxyXHTMLURLFilter
extends CWebProxyURLFilter

Rewrites URLs for CWebProxy in an XHTML document.

Version:
$Revision: 19776 $
Author:
Sarah Arnott, sarnott@mun.ca

Field Summary
 
Fields inherited from class org.jasig.portal.channels.webproxy.CWebProxyURLFilter
baseUrl, runtimeData
 
Fields inherited from class org.jasig.portal.utils.SAX2FilterImpl
contentHandler, dtdHandler, entityResolver, errorHandler, lexicalHandler, locator
 
Constructor Summary
CWebProxyXHTMLURLFilter(ContentHandler handler)
          Deprecated. A constructor which receives a ContentHandler to which filtered SAX events are passed.
 
Method Summary
 void characters(char[] ch, int start, int length)
          Deprecated. Filter a character data event.
 void endElement(String uri, String localName, String qName)
          Deprecated. Filter an end element event.
 void startElement(String uri, String localName, String qName, Attributes atts)
          Deprecated. Filter a start element event.
 
Methods inherited from class org.jasig.portal.channels.webproxy.CWebProxyURLFilter
getBase, getQueryString, newCWebProxyURLFilter, rewriteURL
 
Methods inherited from class org.jasig.portal.utils.SAX2FilterImpl
comment, endCDATA, endDocument, 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, startDocument, startDTD, startEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CWebProxyXHTMLURLFilter

public CWebProxyXHTMLURLFilter(ContentHandler handler)
Deprecated. 
A constructor which receives a ContentHandler to which filtered SAX events are passed.

Parameters:
handler - the ContentHandler to which filtered SAX events are passed
Method Detail

startElement

public void startElement(String uri,
                         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 SAX2FilterImpl
Parameters:
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.
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 uri,
                       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 SAX2FilterImpl
Parameters:
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.
Throws:
SAXException - The client may throw an exception during processing.
See Also:
ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
Deprecated. 
Description copied from class: SAX2FilterImpl
Filter a character data event.

Specified by:
characters in interface ContentHandler
Overrides:
characters in class SAX2FilterImpl
Parameters:
ch - An array of characters.
start - The starting position in the array.
length - The number of characters to use from the array.
Throws:
SAXException - The client may throw an exception during processing.
See Also:
ContentHandler.characters(char[], int, int)


Copyright © 2010 Jasig. All Rights Reserved.