|
||||||||||
| 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.channels.webproxy.CWebProxyURLFilter
@Deprecated public abstract class CWebProxyURLFilter
Rewrites URLs for CWebProxy.
| Field Summary | |
|---|---|
protected String |
baseUrl
Deprecated. |
protected ChannelRuntimeData |
runtimeData
Deprecated. |
| Fields inherited from class org.jasig.portal.utils.SAX2FilterImpl |
|---|
contentHandler, dtdHandler, entityResolver, errorHandler, lexicalHandler, locator, log |
| Constructor Summary | |
|---|---|
protected |
CWebProxyURLFilter(ContentHandler handler)
Deprecated. A constructor which receives a ContentHandler to which filtered SAX events are passed. |
| Method Summary | |
|---|---|
protected String |
getBase(String url)
Deprecated. Returns the portion of the URL without the query string. |
protected String |
getQueryString(String url)
Deprecated. Returns the query string portion of the URL. |
static CWebProxyURLFilter |
newCWebProxyURLFilter(String mimeType,
ChannelRuntimeData runtimeData,
ContentHandler handler)
Deprecated. A factory method that uses mimeType to determine which type of CWebProxyURLFilter to return. |
protected void |
rewriteURL(String elementName,
String attName,
String qName,
Attributes atts,
AttributesImpl attsImpl)
Deprecated. A helper method which rewrites an attribute that has a URL value for CWebProxy. |
| Methods inherited from class org.jasig.portal.utils.SAX2FilterImpl |
|---|
characters, comment, endCDATA, endDocument, endDTD, endElement, 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, startElement, startEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ChannelRuntimeData runtimeData
protected String baseUrl
| Constructor Detail |
|---|
protected CWebProxyURLFilter(ContentHandler handler)
handler - the ContentHandler to which filtered SAX events are passed| Method Detail |
|---|
public static final CWebProxyURLFilter newCWebProxyURLFilter(String mimeType,
ChannelRuntimeData runtimeData,
ContentHandler handler)
throws PortalException
handler - the ContentHandler used to pass along filtered SAX eventsruntimeData - the CWebProxy channel runtime data
PortalException
protected final void rewriteURL(String elementName,
String attName,
String qName,
Attributes atts,
AttributesImpl attsImpl)
elementName - the element name containing an attribute of name attNameattName - the name of the attribute of elementNameqName - the name of the current elementattsImpl - the attributes implementation to contain the new attribute valueprotected String getBase(String url)
url - A String representing the absolute URL.protected String getQueryString(String url)
url - A String representing the absolute URL.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||