/** * Add a Filterset to this filter set. * * @param filterSet the filterset to be added to this filterset */ public synchronized void addConfiguredFilterSet(FilterSet filterSet) { if (isReference()) { throw noChildrenAllowed(); } for (Enumeration e = filterSet.getFilters().elements(); e.hasMoreElements(); ) { addFilter((Filter) e.nextElement()); } }
/** * Create a Filterset from another filterset. * * @param filterset the filterset upon which this filterset will be based. */ protected FilterSet(FilterSet filterset) { super(); this.filters = (Vector) filterset.getFilters().clone(); }