org.barracudamvc.contrib.dbroggisch.display.filters
Class FilterFactory
java.lang.Object
org.barracudamvc.contrib.dbroggisch.display.filters.FilterFactory
- public class FilterFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterFactory
public FilterFactory()
addMapping
public static void addMapping(InputStream file)
loadFilters
public static void loadFilters(InputStream file)
throws FilterException
- Throws:
FilterException
getFilterMap
public static Map getFilterMap(String name)
createFilter
protected static Filter createFilter(Class xmlClass)
accumulateChilds
public static List accumulateChilds(Object obj)
filter
public static LightweightTemplateModel filter(Object obj,
FilterContext ctx)
throws FilterException
- Throws:
FilterException
filter
public static LightweightTemplateModel filter(LightweightTemplateModel ltm,
String fmName,
FilterContext ctx)
throws FilterException
- Throws:
FilterException
filter
public static LightweightTemplateModel filter(LightweightTemplateModel ltm,
org.barracudamvc.contrib.dbroggisch.display.filters.FilterFactory.FilterMap fm,
FilterContext ctx)
throws FilterException
- Parameters:
ltm
- a LightweightTemplateModel
valuefm
- The FilterMap to applyctx
- the FilterContext to be used
- Returns:
- a
LightweightTemplateModel
- Throws:
FilterException
- if an error occurs
Copyright © 2004 BarracudaMVC.org All Rights Reserved.