Source code: com/arranger/jarl/filter/IFilterDef.java
1 package com.arranger.jarl.filter;
2
3 import com.arranger.jarl.base.IContext;
4 import org.w3c.dom.Element;
5
6 /**
7 * IFilterDef created on Mar 21, 2003
8 */
9 public interface IFilterDef {
10
11 /**
12 * Initialize this trait
13 * @param context the global context
14 * @param element the element containing config info
15 */
16 public void initDef(IContext context, Element element);
17
18 /**
19 * Based off of the actual def, get a real instance
20 * @param context
21 * @param element
22 * @return an initialized filter
23 */
24 public IFilter initInstance(IContext context, Element element);
25 }