KickJava   Java API By Example, From Geeks To Geeks.

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


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.*;
22 /**
23  * Generated interface for WebResourceCollection 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 WebResourceCollection extends CommonDDBean, DescriptionInterface {
30         /** Setter for web-resource-name property.
31          * @param value property value
32          */

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

37     public java.lang.String JavaDoc getWebResourceName();
38         /** Setter for url-pattern property.
39          * @param index position in the array of url-patterns
40          * @param value property value
41          */

42     public void setUrlPattern(int index, java.lang.String JavaDoc value);
43         /** Getter for url-pattern property.
44          * @param index position in the array of url-patterns
45          * @return property value
46          */

47     public java.lang.String JavaDoc getUrlPattern(int index);
48         /** Setter for url-pattern property.
49          * @param index position in the array of url-patterns
50          * @param value array of url-pattern properties
51          */

52     public void setUrlPattern(java.lang.String JavaDoc[] value);
53         /** Getter for url-pattern property.
54          * @return array of url-pattern properties
55          */

56     public java.lang.String JavaDoc[] getUrlPattern();
57         /** Returns size of url-pattern properties.
58          * @return number of url-pattern properties
59          */

60     public int sizeUrlPattern();
61         /** Adds url-pattern property.
62          * @param value url-pattern property
63          * @return index of new url-pattern
64          */

65     public int addUrlPattern(java.lang.String JavaDoc value);
66         /** Removes url-pattern property.
67          * @param value url-pattern property
68          * @return index of the removed url-pattern
69          */

70     public int removeUrlPattern(java.lang.String JavaDoc value);
71         /** Setter for http-method property.
72          * @param index position in the array of http-methods
73          * @param value property value
74          */

75     public void setHttpMethod(int index, java.lang.String JavaDoc value);
76         /** Getter for http-method property.
77          * @param index position in the array of http-methods
78          * @return property value
79          */

80     public java.lang.String JavaDoc getHttpMethod(int index);
81         /** Setter for http-method property.
82          * @param index position in the array of http-methods
83          * @param value array of http-method properties
84          */

85     public void setHttpMethod(java.lang.String JavaDoc[] value);
86         /** Getter for http-method property.
87          * @return array of http-method properties
88          */

89     public java.lang.String JavaDoc[] getHttpMethod();
90         /** Returns size of http-method properties.
91          * @return number of http-method properties
92          */

93     public int sizeHttpMethod();
94         /** Adds http-method property.
95          * @param value http-method property
96          * @return index of new http-method
97          */

98     public int addHttpMethod(java.lang.String JavaDoc value);
99         /** Removes http-method property.
100          * @param value http-method property
101          * @return index of the removed http-method
102          */

103     public int removeHttpMethod(java.lang.String JavaDoc value);
104
105 }
106
Popular Tags