|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A FilterTool is a factory which returns a Filter. A Filter is a Macro whose express purpose is to filter the results of another Macro. The FilterTool interface is used to instantiate Filters as needed on a page.
In addition to instantiating filters, a FilterTool must define the mapping of a property name list to a specific tool. For example, if a FilterTool applies to a property called $Customer then it must determine how $Customer.Name is to be handled.
Method Summary | |
Macro |
getFilter(Macro source)
Instantiate a new filter. |
FilterTool |
getFilterTool(java.lang.String name)
Return the FilterTool which should be used to handle a sub-property. |
Method Detail |
public FilterTool getFilterTool(java.lang.String name)
name
- the name of the sub-property to be filtered
public Macro getFilter(Macro source)
source
- the Macro which this filter will post-process
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |