org.apache.jetspeed.rewriter.html.neko
Class URLRewriterFilter

java.lang.Object
  extended byorg.cyberneko.html.filters.DefaultFilter
      extended byorg.apache.jetspeed.rewriter.html.neko.URLRewriterFilter
All Implemented Interfaces:
org.cyberneko.html.HTMLComponent, org.apache.xerces.xni.parser.XMLComponent, org.apache.xerces.xni.parser.XMLDocumentFilter, org.apache.xerces.xni.XMLDocumentHandler, org.apache.xerces.xni.parser.XMLDocumentSource

public class URLRewriterFilter
extends org.cyberneko.html.filters.DefaultFilter

URLRewriterFilter

Version:
$Id: URLRewriterFilter.java 188328 2005-02-08 19:08:40Z rogerrut $
Author:
Scott T. Weaver

Field Summary
private  Rewriter rewriter
           
 
Fields inherited from class org.cyberneko.html.filters.DefaultFilter
fDocumentHandler, fDocumentSource
 
Constructor Summary
URLRewriterFilter(Rewriter rewriter)
           
 
Method Summary
 void characters(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations arg1)
           characters
 void comment(org.apache.xerces.xni.XMLString comment, org.apache.xerces.xni.Augmentations augs)
           comment
protected  void doRewrite(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attrs)
           doRewrite
 void emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attrs, org.apache.xerces.xni.Augmentations arg2)
           emptyElement
 void endElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.Augmentations augs)
           endElement
protected  void rewriteAttribute(String attrName, org.apache.xerces.xni.XMLAttributes attributes)
           
 void startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attrs, org.apache.xerces.xni.Augmentations augs)
           startElement
 
Methods inherited from class org.cyberneko.html.filters.DefaultFilter
doctypeDecl, endCDATA, endDocument, endGeneralEntity, endPrefixMapping, getDocumentHandler, getDocumentSource, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, ignorableWhitespace, merge, processingInstruction, reset, setDocumentHandler, setDocumentSource, setFeature, setProperty, startCDATA, startDocument, startDocument, startGeneralEntity, startPrefixMapping, textDecl, xmlDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rewriter

private Rewriter rewriter
Constructor Detail

URLRewriterFilter

public URLRewriterFilter(Rewriter rewriter)
Method Detail

startElement

public void startElement(org.apache.xerces.xni.QName element,
                         org.apache.xerces.xni.XMLAttributes attrs,
                         org.apache.xerces.xni.Augmentations augs)
                  throws org.apache.xerces.xni.XNIException

startElement

Parameters:
element -
attrs -
augs -
Throws:
org.apache.xerces.xni.XNIException
See Also:
XMLDocumentHandler.startElement(org.apache.xerces.xni.QName, org.apache.xerces.xni.XMLAttributes, org.apache.xerces.xni.Augmentations)

doRewrite

protected void doRewrite(org.apache.xerces.xni.QName element,
                         org.apache.xerces.xni.XMLAttributes attrs)

doRewrite

Parameters:
element -
attrs -

rewriteAttribute

protected void rewriteAttribute(String attrName,
                                org.apache.xerces.xni.XMLAttributes attributes)

emptyElement

public void emptyElement(org.apache.xerces.xni.QName element,
                         org.apache.xerces.xni.XMLAttributes attrs,
                         org.apache.xerces.xni.Augmentations arg2)
                  throws org.apache.xerces.xni.XNIException

emptyElement

Parameters:
arg2 -
Throws:
org.apache.xerces.xni.XNIException
See Also:
XMLDocumentHandler.emptyElement(org.apache.xerces.xni.QName, org.apache.xerces.xni.XMLAttributes, org.apache.xerces.xni.Augmentations)

comment

public void comment(org.apache.xerces.xni.XMLString comment,
                    org.apache.xerces.xni.Augmentations augs)
             throws org.apache.xerces.xni.XNIException

comment

Parameters:
comment -
augs -
Throws:
org.apache.xerces.xni.XNIException
See Also:
XMLDocumentHandler.comment(org.apache.xerces.xni.XMLString, org.apache.xerces.xni.Augmentations)

endElement

public void endElement(org.apache.xerces.xni.QName element,
                       org.apache.xerces.xni.Augmentations augs)
                throws org.apache.xerces.xni.XNIException

endElement

Throws:
org.apache.xerces.xni.XNIException
See Also:
XMLDocumentHandler.endElement(org.apache.xerces.xni.QName, org.apache.xerces.xni.Augmentations)

characters

public void characters(org.apache.xerces.xni.XMLString text,
                       org.apache.xerces.xni.Augmentations arg1)
                throws org.apache.xerces.xni.XNIException

characters

Parameters:
arg1 -
Throws:
org.apache.xerces.xni.XNIException
See Also:
XMLDocumentHandler.characters(org.apache.xerces.xni.XMLString, org.apache.xerces.xni.Augmentations)


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.