org.barracudamvc.contrib.dbroggisch.display.filters
Class LookupFilter
java.lang.Object
org.barracudamvc.contrib.dbroggisch.display.filters.LookupFilter
- All Implemented Interfaces:
- Filter
- public class LookupFilter
- extends Object
- implements Filter
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
LookupFilter
public LookupFilter()
LookupFilter
public LookupFilter(Map lookupMap)
filter
public Object filter(Object key,
FilterContext context)
throws FilterException
- Looks up the given key. If the key doesn't exist,
null
returned. If the lookupMap is null
, the key itself will be returned.
- Specified by:
filter
in interface Filter
- Parameters:
key
- The key to lookup.
- Returns:
- the mapped objet.
- 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.