org.jasig.portal.utils
Class XHTMLURLFilter
java.lang.Object
org.jasig.portal.utils.SAX2FilterImpl
org.jasig.portal.utils.AbsoluteURLFilter
org.jasig.portal.utils.XHTMLURLFilter
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLReader
public class XHTMLURLFilter
- extends AbsoluteURLFilter
Replaces all relative URLs with absolute URLs in
an XHTML document
- Version:
- $Revision: 19776 $
- Author:
- Ken Weiner, kweiner@unicon.net
|
Constructor Summary |
protected |
XHTMLURLFilter(ContentHandler handler)
A constructor which receives a ContentHandler to which
filtered SAX events are passed |
| Methods inherited from class org.jasig.portal.utils.SAX2FilterImpl |
characters, 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 |
XHTMLURLFilter
protected XHTMLURLFilter(ContentHandler handler)
- A constructor which receives a ContentHandler to which
filtered SAX events are passed
- Parameters:
handler - the ContentHandler to which filtered SAX events are passed
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes atts)
throws SAXException
- 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
- 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)
Copyright © 2010 Jasig. All Rights Reserved.