KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > dd > api > web > FilterMapping


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.modules.j2ee.dd.api.web;
21 import org.netbeans.modules.j2ee.dd.api.common.VersionNotSupportedException;
22 /**
23  * Generated interface for FilterMapping element.
24  *
25  *<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>
26  *</p>
27  */

28 public interface FilterMapping extends org.netbeans.modules.j2ee.dd.api.common.CommonDDBean {
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 url-pattern property.
38          * @param value property value
39          */

40     public void setUrlPattern(java.lang.String JavaDoc value);
41         /** Getter for url-pattern property.
42          * @return property value
43          */

44     public java.lang.String JavaDoc getUrlPattern();
45         /** Setter for servlet-name property.
46          * @param value property value
47          */

48     public void setServletName(java.lang.String JavaDoc value);
49         /** Getter for servlet-name property.
50          * @return property value
51          */

52     public java.lang.String JavaDoc getServletName();
53         /** Setter for dispatcher property.
54          * @param index position in the array of dispatchers
55          * @param value property value
56          */

57     public void setDispatcher(int index, java.lang.String JavaDoc value) throws VersionNotSupportedException;
58         /** Getter for dispatcher property.
59          * @param index position in the array of dispatchers
60          * @return property value
61          */

62     public java.lang.String JavaDoc getDispatcher(int index) throws VersionNotSupportedException;
63         /** Setter for dispatcher property.
64          * @param index position in the array of dispatchers
65          * @param value array of dispatcher properties
66          */

67     public void setDispatcher(java.lang.String JavaDoc[] value) throws VersionNotSupportedException;
68         /** Getter for dispatcher property.
69          * @return array of dispatcher properties
70          */

71     public java.lang.String JavaDoc[] getDispatcher() throws VersionNotSupportedException;
72         /** Returns size of dispatcher properties.
73          * @return number of dispatcher properties
74          */

75     public int sizeDispatcher() throws VersionNotSupportedException;
76         /** Adds dispatcher property.
77          * @param value dispatcher property
78          * @return index of new dispatcher
79          */

80     public int addDispatcher(java.lang.String JavaDoc value) throws VersionNotSupportedException;
81         /** Removes dispatcher property.
82          * @param value dispatcher property
83          * @return index of the removed dispatcher
84          */

85     public int removeDispatcher(java.lang.String JavaDoc value) throws VersionNotSupportedException;
86
87 }
88
Popular Tags