View Javadoc

1   package net.sf.tomp.xtcl.filter;
2   
3   import org.xml.sax.SAXException;
4   import org.xml.sax.XMLFilter;
5   
6   /***
7    * DOCUMENT ME!
8    * 
9    * @author tomp
10   */
11  public interface DynamicMultiFilter extends XTFilter, HasOutputProperties {
12      /***
13       * DOCUMENT ME!
14       * 
15       * @param pos DOCUMENT ME!
16       * @param f DOCUMENT ME!
17       * @throws SAXException DOCUMENT ME!
18       */
19      void addFilter(int pos, XMLFilter f) throws SAXException;
20  
21      /***
22       * DOCUMENT ME!
23       * 
24       * @param pos DOCUMENT ME!
25       * @param f DOCUMENT ME!
26       * @throws SAXException DOCUMENT ME!
27       */
28      void setFilter(int pos, XMLFilter f) throws SAXException;
29  
30      /***
31       * DOCUMENT ME!
32       * 
33       * @param pos DOCUMENT ME!
34       * @throws SAXException DOCUMENT ME!
35       */
36      void removeFilter(int pos) throws SAXException;
37  
38      /***
39       * DOCUMENT ME!
40       * 
41       * @param pos DOCUMENT ME!
42       * @return DOCUMENT ME!
43       */
44      XMLFilter getFilter(int pos);
45  
46      /***
47       * DOCUMENT ME!
48       * 
49       * @return DOCUMENT ME!
50       */
51      int getFilterCount();
52  }
53  
54  /*
55   * The contents of this file are subject to the Mozilla Public License Version
56   * 1.1 (the "License"); you may not use this file except in compliance with the
57   * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
58   * Software distributed under the License is distributed on an "AS IS" basis,
59   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
60   * the specific language governing rights and limitations under the License. The
61   * Original Code is: all this file. The Initial Developer of the Original Code
62   * is: Tomas Pitner, Masaryk University in Brno, Czech Republic. Contributor(s):
63   */