View Javadoc

1   /*
2    * Copyright (C) The MetaClass Group. All rights reserved.
3    *
4    * This software is published under the terms of the Spice
5    * Software License version 1.1, a copy of which has been included
6    * with this distribution in the LICENSE.txt file.
7    */
8   package org.codehaus.metaclass.tools.tasks;
9   
10  /***
11   * An Ant type representing a set of Filter definitions.
12   *
13   * @author Peter Donald
14   * @version $Revision: 1.2 $ $Date: 2003/11/27 08:15:29 $
15   */
16  public class FilterSet
17      extends PluginSet
18  {
19      /***
20       * Create a Filter set.
21       */
22      public FilterSet()
23      {
24          super( "Filter" );
25      }
26  
27      /***
28       * Add an Filter definition that will create Filter to process metadata.
29       *
30       * @param element the Filter definition
31       */
32      public void addFilter( final PluginElement element )
33      {
34          addPlugin( element );
35      }
36  
37      /***
38       * Add a set of Filters.
39       *
40       * @param set the Filter set
41       */
42      public void addFilterSet( final FilterSet set )
43      {
44          addPluginSet( set );
45      }
46  }