Exemplo n.º 1
0
 /**
  * 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());
   }
 }
Exemplo n.º 2
0
 /**
  * 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();
 }