edu.wisc.my.webproxy.beans.filtering
Class HtmlOutputFilter
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
edu.wisc.my.webproxy.beans.filtering.ChainingSaxFilter
edu.wisc.my.webproxy.beans.filtering.HtmlOutputFilter
- All Implemented Interfaces:
- ProxyComponent, ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLReader
public final class HtmlOutputFilter
- extends ChainingSaxFilter
A filter that will always be at the end of the filter chain.
It takes the SAX events and create an XML document into an OutputStream.
This filter uses the portlet's OutputStream to write the data to.
- Version:
- $Id: HtmlOutputFilter.java 20993 2010-07-02 19:32:47Z edalquist $
- Author:
- dgrimwood
| Methods inherited from class edu.wisc.my.webproxy.beans.filtering.ChainingSaxFilter |
clearData, endCDATA, endDTD, getLexicalHandler, parse, parse, setActionData, setLexicalHandler, setParent, setRenderData, startCDATA, startDTD |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlOutputFilter
public HtmlOutputFilter(Writer out)
getName
public String getName()
- Description copied from interface:
ProxyComponent
- Returns a displayable name for the component.
comment
public void comment(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
comment in interface LexicalHandler- Overrides:
comment in class ChainingSaxFilter
- Throws:
SAXException- See Also:
LexicalHandler.comment(char[], int, int)
startEntity
public void startEntity(String name)
throws SAXException
- Specified by:
startEntity in interface LexicalHandler- Overrides:
startEntity in class ChainingSaxFilter
- Throws:
SAXException- See Also:
ChainingSaxFilter.startEntity(java.lang.String)
endEntity
public void endEntity(String name)
throws SAXException
- Specified by:
endEntity in interface LexicalHandler- Overrides:
endEntity in class ChainingSaxFilter
- Throws:
SAXException- See Also:
ChainingSaxFilter.endEntity(java.lang.String)
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class ChainingSaxFilter
- Throws:
SAXException- See Also:
ContentHandler.characters(char[], int, int)
endDocument
public void endDocument()
throws SAXException
- Specified by:
endDocument in interface ContentHandler- Overrides:
endDocument in class XMLFilterImpl
- Throws:
SAXException- See Also:
ContentHandler.endDocument()
endElement
public void endElement(String uri,
String localName,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class XMLFilterImpl
- Throws:
SAXException- See Also:
ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes atts)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class XMLFilterImpl
- Throws:
SAXException- See Also:
ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
Copyright © 2010 Jasig. All Rights Reserved.