|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--idl.tmt.documentparsing.filters.FilterFactory
Facotry class which manages creating filters dynamically based on the filter name and a set of parameters. Now, this class just instantiates a new filter each time, but it could me modified to cache and re-use filters. Created on Sep 27, 2003
| Field Summary | |
private static FilterFactory |
_instance
|
| Constructor Summary | |
private |
FilterFactory()
|
| Method Summary | |
Filter |
getFilter(java.lang.String filterName,
java.util.Map parameters)
Creates a new Filter object based on the name and parameters. |
static FilterFactory |
getInstance()
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private static FilterFactory _instance
| Constructor Detail |
private FilterFactory()
| Method Detail |
public static FilterFactory getInstance()
public Filter getFilter(java.lang.String filterName,
java.util.Map parameters)
filterName - The name of the filter to instantiate.parameters - The parameters used in instantiation of a filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||