KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > api > web > dd > 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.api.web.dd;
21 import org.netbeans.api.web.dd.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  * @deprecated Use the API for web module deployment descriptor in j2ee/ddapi module.
28  */

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

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

37     public java.lang.String JavaDoc getFilterName();
38         /** Setter for url-pattern property.
39          * @param value property value
40          */

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

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

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

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

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

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

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

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

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

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

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