org.enhydra.barracuda.contrib.dbroggisch.display.filters
Class SwitchFilter
java.lang.Object
org.enhydra.barracuda.contrib.dbroggisch.display.filters.SwitchFilter
- All Implemented Interfaces:
- Filter
- public class SwitchFilter
- extends Object
- implements Filter
This class executes the filter
-method subsequently for all
ist child-filters. The first one not to return null or throwing
a FilterException
wins.
- Version:
- 1.0
- Author:
- Diez Roggisch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwitchFilter
public SwitchFilter()
SwitchFilter
public SwitchFilter(Filter[] fs)
SwitchFilter
public SwitchFilter(List fs)
filter
public Object filter(Object value,
FilterContext context)
throws FilterException
- Specified by:
filter
in interface Filter
- Parameters:
value
- The object to be filtered.
- Returns:
- the filtered object.
- 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 © 2003 BarracudaMVC.org All Rights Reserved.