rabbit.filter
Class BlinkFilter

java.lang.Object
  extended by rabbit.filter.HTMLFilter
      extended by rabbit.filter.BlinkFilter
All Implemented Interfaces:
HTMLFilterFactory

public class BlinkFilter
extends HTMLFilter

A filter that removes the blink and /blink tags.


Field Summary
 
Fields inherited from class rabbit.filter.HTMLFilter
con, request, response
 
Constructor Summary
BlinkFilter()
           
BlinkFilter(Connection con, HTTPHeader request, HTTPHeader response)
          Create a new BlinkFilter for the given request, response pair.
 
Method Summary
 void filterHTML(HTMLBlock block)
          Remove blink tags.
 HTMLFilter newFilter(Connection con, HTTPHeader request, HTTPHeader response)
          Get a new HTMLFilter for the given request, response pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlinkFilter

public BlinkFilter()

BlinkFilter

public BlinkFilter(Connection con,
                   HTTPHeader request,
                   HTTPHeader response)
Create a new BlinkFilter for the given request, response pair.

Parameters:
con - the Connection handling the request.
request - the actual request made.
response - the actual response being sent.
Method Detail

newFilter

public HTMLFilter newFilter(Connection con,
                            HTTPHeader request,
                            HTTPHeader response)
Description copied from class: HTMLFilter
Get a new HTMLFilter for the given request, response pair.

Specified by:
newFilter in interface HTMLFilterFactory
Specified by:
newFilter in class HTMLFilter
Parameters:
con - the Connection handling the request.
request - the actual request made.
response - the actual response being sent.

filterHTML

public void filterHTML(HTMLBlock block)
Remove blink tags.

Specified by:
filterHTML in class HTMLFilter
Parameters:
block - the part of the html page we are filtering.