KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > api > web > dd > Filter


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.api.web.dd;
21 /**
22  * Generated interface for Filter element.
23  *
24  *<p><b><font color="red"><em>Important note: Do not provide an implementation of this interface unless you are a DD API provider!</em></font></b>
25  *</p>
26  * @deprecated Use the API for web module deployment descriptor in j2ee/ddapi module.
27  */

28 public interface Filter extends org.netbeans.api.web.dd.common.ComponentInterface {
29         /** Setter for filter-name property.
30          * @param value property value
31          */

32     public void setFilterName(java.lang.String JavaDoc value);
33         /** Getter for filter-name property.
34          * @return property value
35          */

36     public java.lang.String JavaDoc getFilterName();
37         /** Setter for filter-class property.
38          * @param value property value
39          */

40     public void setFilterClass(java.lang.String JavaDoc value);
41         /** Getter for filter-class property.
42          * @return property value
43          */

44     public java.lang.String JavaDoc getFilterClass();
45         /** Setter for init-param element.
46          * @param index position in the array of elements
47          * @param valueInterface init-param element (InitParam object)
48          */

49     public void setInitParam(int index, org.netbeans.api.web.dd.InitParam valueInterface);
50         /** Getter for init-param element.
51          * @param index position in the array of elements
52          * @return init-param element (InitParam object)
53          */

54     public org.netbeans.api.web.dd.InitParam getInitParam(int index);
55         /** Setter for init-param elements.
56          * @param value array of init-param elements (InitParam objects)
57          */

58     public void setInitParam(org.netbeans.api.web.dd.InitParam[] value);
59         /** Getter for init-param elements.
60          * @return array of init-param elements (InitParam objects)
61          */

62     public org.netbeans.api.web.dd.InitParam[] getInitParam();
63         /** Returns size of init-param elements.
64          * @return number of init-param elements
65          */

66     public int sizeInitParam();
67         /** Adds init-param element.
68          * @param valueInterface init-param element (InitParam object)
69          * @return index of new init-param
70          */

71     public int addInitParam(org.netbeans.api.web.dd.InitParam valueInterface);
72         /** Removes init-param element.
73          * @param valueInterface init-param element (InitParam object)
74          * @return index of the removed init-param
75          */

76     public int removeInitParam(org.netbeans.api.web.dd.InitParam valueInterface);
77
78 }
79
Popular Tags