KickJava   Java API By Example, From Geeks To Geeks.

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


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  * LocaleCharsetInfo.java
21  *
22  * Created on November 15, 2004, 4:26 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.dd.api.web;
26
27 public interface LocaleCharsetInfo extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean {
28
29         public static final String JavaDoc DEFAULTLOCALE = "DefaultLocale"; // NOI18N
30
public static final String JavaDoc LOCALE_CHARSET_MAP = "LocaleCharsetMap"; // NOI18N
31
public static final String JavaDoc PARAMETER_ENCODING = "ParameterEncoding"; // NOI18N
32
public static final String JavaDoc PARAMETERENCODINGFORMHINTFIELD = "ParameterEncodingFormHintField"; // NOI18N
33
public static final String JavaDoc PARAMETERENCODINGDEFAULTCHARSET = "ParameterEncodingDefaultCharset"; // NOI18N
34

35         
36         /** Setter for default-locale attribute
37          * @param value attribute value
38          */

39     public void setDefaultLocale(java.lang.String JavaDoc value);
40         /** Getter for default-locale attribute.
41          * @return attribute value
42          */

43     public java.lang.String JavaDoc getDefaultLocale();
44
45     public void setLocaleCharsetMap(int index, LocaleCharsetMap value);
46     public LocaleCharsetMap getLocaleCharsetMap(int index);
47     public int sizeLocaleCharsetMap();
48     public void setLocaleCharsetMap(LocaleCharsetMap[] value);
49     public LocaleCharsetMap[] getLocaleCharsetMap();
50     public int addLocaleCharsetMap(LocaleCharsetMap value);
51     public int removeLocaleCharsetMap(LocaleCharsetMap value);
52     public LocaleCharsetMap newLocaleCharsetMap();
53
54         /** Setter for parameter-encoding property
55          * @param value property value
56          */

57     public void setParameterEncoding(boolean value);
58         /** Check for parameter-encoding property.
59          * @return property value
60          */

61     public boolean isParameterEncoding();
62         /** Setter for form-hint-field attribute of parameter-encoding
63          * @param value attribute value
64          */

65     public void setParameterEncodingFormHintField(java.lang.String JavaDoc value);
66          /** Getter for form-hint-field attribute of parameter-encoding
67          * @return attribute value
68          */

69     public java.lang.String JavaDoc getParameterEncodingFormHintField();
70         /** Setter for default-charset attribute of parameter-encoding
71          * @param value attribute value
72          */

73     public void setParameterEncodingDefaultCharset(java.lang.String JavaDoc value);
74          /** Getter for default-charset attribute of parameter-encoding
75          * @return attribute value
76          */

77     public java.lang.String JavaDoc getParameterEncodingDefaultCharset();
78
79 }
80
Popular Tags