org.barracudamvc.contrib.dbroggisch.display.filters
Interface Filter

All Known Implementing Classes:
ConstantFilter, CountFilter, DateFilter, LookupFilter, MarkupFilter, SwitchFilter

public interface Filter

The interface Filter is used in conjunction with the HashMapModel to create lightweight models which are used to render data inito HTML-pages.

Version:
1.0
Author:
Diez Roggisch

Method Summary
 Filter configure(Object obj)
          Configure the the Filter with the XML Chunk.
 Object filter(Object obj, FilterContext context)
           
 

Method Detail

filter

Object filter(Object obj,
              FilterContext context)
              throws FilterException
Parameters:
obj - The object to be filtered.
Returns:
the filtered object.
Throws:
FilterException

configure

Filter configure(Object obj)
                 throws FilterException
Configure the the Filter with the XML Chunk.

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


Copyright © 2006 BarracudaMVC.org All Rights Reserved.