net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee
Class FacesConfigLocaleConfigType

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

public class FacesConfigLocaleConfigType
extends Object
implements Serializable, Cloneable

The "locale-config" element allows the app developer to declare theĀ supported locales for this application.

Java class for faces-config-locale-configType complex type.

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

 <complexType name="faces-config-locale-configType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="default-locale" type="{http://java.sun.com/xml/ns/javaee}faces-config-default-localeType" minOccurs="0"/>
         <element name="supported-locale" type="{http://java.sun.com/xml/ns/javaee}faces-config-supported-localeType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  FacesConfigDefaultLocaleType defaultLocale
           
protected  String id
           
protected  FacesConfigSupportedLocaleType[] supportedLocale
           
 
Constructor Summary
FacesConfigLocaleConfigType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.FacesConfigLocaleConfigType instance.
FacesConfigLocaleConfigType(FacesConfigLocaleConfigType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.FacesConfigLocaleConfigType instance by copying a given instance.
 
Method Summary
 FacesConfigLocaleConfigType clone()
          Creates and returns a copy of this object.
protected  void copySupportedLocale(FacesConfigSupportedLocaleType[] source)
          Copies all values of property SupportedLocale.
 FacesConfigDefaultLocaleType getDefaultLocale()
          Gets the value of the defaultLocale property.
 String getId()
          Gets the value of the id property.
 FacesConfigSupportedLocaleType[] getSupportedLocale()
           
 FacesConfigSupportedLocaleType getSupportedLocale(int idx)
           
 int getSupportedLocaleLength()
           
 void setDefaultLocale(FacesConfigDefaultLocaleType value)
          Sets the value of the defaultLocale property.
 void setId(String value)
          Sets the value of the id property.
 void setSupportedLocale(FacesConfigSupportedLocaleType[] values)
           
 FacesConfigSupportedLocaleType setSupportedLocale(int idx, FacesConfigSupportedLocaleType value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultLocale

protected FacesConfigDefaultLocaleType defaultLocale

supportedLocale

protected FacesConfigSupportedLocaleType[] supportedLocale

id

protected String id
Constructor Detail

FacesConfigLocaleConfigType

public FacesConfigLocaleConfigType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.FacesConfigLocaleConfigType instance.


FacesConfigLocaleConfigType

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

Parameters:
o - The instance to copy or null.
Method Detail

getDefaultLocale

public FacesConfigDefaultLocaleType getDefaultLocale()
Gets the value of the defaultLocale property.

Returns:
possible object is FacesConfigDefaultLocaleType

setDefaultLocale

public void setDefaultLocale(FacesConfigDefaultLocaleType value)
Sets the value of the defaultLocale property.

Parameters:
value - allowed object is FacesConfigDefaultLocaleType

getSupportedLocale

public FacesConfigSupportedLocaleType[] getSupportedLocale()
Returns:
array of FacesConfigSupportedLocaleType

getSupportedLocale

public FacesConfigSupportedLocaleType getSupportedLocale(int idx)
Returns:
one of FacesConfigSupportedLocaleType

getSupportedLocaleLength

public int getSupportedLocaleLength()

setSupportedLocale

public void setSupportedLocale(FacesConfigSupportedLocaleType[] values)
Parameters:
values - allowed objects are FacesConfigSupportedLocaleType

setSupportedLocale

public FacesConfigSupportedLocaleType setSupportedLocale(int idx,
                                                         FacesConfigSupportedLocaleType value)
Parameters:
value - allowed object is FacesConfigSupportedLocaleType

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

copySupportedLocale

protected void copySupportedLocale(FacesConfigSupportedLocaleType[] source)
Copies all values of property SupportedLocale.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public FacesConfigLocaleConfigType 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.