| java.lang.Object org.apache.cocoon.components.source.URLRewriter
URLRewriter | final public class URLRewriter implements XMLConsumer(Code) | | This is an XMLConsumer which rewrites the stream
according to the configuration.
The configuration can have the following parameters:
"rewriteURLMode" : The mode to rewrite the urls. Currently none and cocoon
are supported.
"cocoonURL" : The url all links are resolved to
"urlParameterName" : The parameter name to use for links (all links are
then "cocoonURL?urlParameterName=LINK"
"baseURL" : The current URL to rewrite
author: Carsten Ziegeler version: CVS $Id: URLRewriter.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | characters(char ary, int start, int length) | public void | comment(char ary, int start, int length) | public void | endCDATA() | public void | endDTD() | public void | endDocument() | public void | endElement(String namespace, String name, String raw) | public void | endEntity(String name) | public void | endPrefixMapping(String prefix) | public void | ignorableWhitespace(char ary, int start, int length) | public void | processingInstruction(String target, String data) | public void | setDocumentLocator(Locator locator) | public void | skippedEntity(String name) | public void | startCDATA() | public void | startDTD(String name, String public_id, String system_id) | public void | startDocument() | public void | startElement(String namespace, String name, String raw, Attributes attr) | public void | startEntity(String name) | public void | startPrefixMapping(String prefix, String uri) |
PARAMETER_COCOON_URL | final public static String PARAMETER_COCOON_URL(Code) | | |
PARAMETER_MODE | final public static String PARAMETER_MODE(Code) | | |
PARAMETER_PARAMETER_NAME | final public static String PARAMETER_PARAMETER_NAME(Code) | | |
characters | public void characters(char ary, int start, int length) throws SAXException(Code) | | SAX Event Handling
|
comment | public void comment(char ary, int start, int length) throws SAXException(Code) | | SAX Event Handling
|
ignorableWhitespace | public void ignorableWhitespace(char ary, int start, int length) throws SAXException(Code) | | SAX Event Handling
|
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | SAX Event Handling
|
|
|