net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee
Class LocaleEncodingMappingType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.LocaleEncodingMappingType
All Implemented Interfaces:
Serializable, Cloneable

public class LocaleEncodingMappingType
extends Object
implements Serializable, Cloneable

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/javaee}localeType"/>
         <element name="encoding" type="{http://java.sun.com/xml/ns/javaee}encodingType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String encoding
           
protected  String id
           
protected  String locale
           
 
Constructor Summary
LocaleEncodingMappingType()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.LocaleEncodingMappingType instance.
LocaleEncodingMappingType(LocaleEncodingMappingType o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.LocaleEncodingMappingType instance by copying a given instance.
 
Method Summary
 LocaleEncodingMappingType clone()
          Creates and returns a copy of this object.
 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
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()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.LocaleEncodingMappingType instance.


LocaleEncodingMappingType

public LocaleEncodingMappingType(LocaleEncodingMappingType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.LocaleEncodingMappingType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
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

clone

public LocaleEncodingMappingType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.