com.sun.grizzly.http.webxml.schema.version_2_4
Class LocaleEncodingMappingType

java.lang.Object
  extended by com.sun.grizzly.http.webxml.schema.version_2_4.LocaleEncodingMappingType

public class LocaleEncodingMappingType
extends Object

The locale-encoding-mapping contains locale name and encoding name. The locale name must be either "Language-code", such as "ja", defined by ISO-639 or "Language-code_Country-code", such as "ja_JP". "Country code" is defined by ISO-3166.

Java class for locale-encoding-mappingType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="locale-encoding-mappingType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="locale" type="{http://java.sun.com/xml/ns/j2ee}localeType"/>
         <element name="encoding" type="{http://java.sun.com/xml/ns/j2ee}encodingType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String encoding
           
protected  String id
           
protected  String locale
           
 
Constructor Summary
LocaleEncodingMappingType()
           
 
Method Summary
 String getEncoding()
          Gets the value of the encoding property.
 String getId()
          Gets the value of the id property.
 String getLocale()
          Gets the value of the locale property.
 void setEncoding(String value)
          Sets the value of the encoding property.
 void setId(String value)
          Sets the value of the id property.
 void setLocale(String value)
          Sets the value of the locale property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locale

protected String locale

encoding

protected String encoding

id

protected String id
Constructor Detail

LocaleEncodingMappingType

public LocaleEncodingMappingType()
Method Detail

getLocale

public String getLocale()
Gets the value of the locale property.

Returns:
possible object is String

setLocale

public void setLocale(String value)
Sets the value of the locale property.

Parameters:
value - allowed object is String

getEncoding

public String getEncoding()
Gets the value of the encoding property.

Returns:
possible object is String

setEncoding

public void setEncoding(String value)
Sets the value of the encoding property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012 Oracle Corporation. All Rights Reserved.