org.barracudamvc.contrib.dbroggisch.display.filters
Class ConstantFilter

java.lang.Object
  extended byorg.barracudamvc.contrib.dbroggisch.display.filters.ConstantFilter
All Implemented Interfaces:
Filter

public class ConstantFilter
extends Object
implements Filter


Constructor Summary
ConstantFilter()
           
ConstantFilter(Object c)
           
 
Method Summary
 Filter configure(Object obj)
          Configure the the Filter with the XML Chunk.
 Object filter(Object obj, FilterContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantFilter

public ConstantFilter(Object c)

ConstantFilter

public ConstantFilter()
Method Detail

filter

public Object filter(Object obj,
                     FilterContext context)
              throws FilterException
Specified by:
filter in interface Filter
Parameters:
obj - will be ignored
Returns:
the Object specified in the constructor
Throws:
FilterException

configure

public Filter configure(Object obj)
                 throws FilterException
Description copied from interface: Filter
Configure the the Filter with the XML Chunk.

Specified by:
configure in interface Filter
Parameters:
obj - The XML object created by ZEUS
Returns:
The configured Filter - that can be different!
Throws:
FilterException


Copyright © 2004 BarracudaMVC.org All Rights Reserved.