1 package com.openedit.util.strainer; 2 3 /** 4 * This interface represents a filter which delegates to multiple other 5 * filters. 6 * 7 * @author Eric Galluzzo 8 */ 9 public interface CompositeFilter extends Filter 10 { 11 /** 12 * Retrieve this filter's sub-filters. 13 * 14 * @return This filter's sub-filters 15 */ 16 public Filter[] getFilters(); 17 18 /** 19 * Set this filter's sub-filters. 20 * 21 * @param newFilters The new sub-filters 22 * 23 * @throws FilterException 24 * If the new sub-filters are not compatible with this filter 25 */ 26 public void setFilters( Filter[] newFilters ) throws FilterException; 27 } 28