net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee
Class FacesConfigLocaleConfigType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.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  List<FacesConfigSupportedLocaleType> supportedLocale
           
 
Constructor Summary
FacesConfigLocaleConfigType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigLocaleConfigType instance.
FacesConfigLocaleConfigType(FacesConfigLocaleConfigType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigLocaleConfigType instance by copying a given instance.
 
Method Summary
 FacesConfigLocaleConfigType clone()
          Creates and returns a copy of this object.
static void copySupportedLocale(List<FacesConfigSupportedLocaleType> source, List<FacesConfigSupportedLocaleType> target)
          Copies all values of property SupportedLocale.
 FacesConfigDefaultLocaleType getDefaultLocale()
          Gets the value of the defaultLocale property.
 String getId()
          Gets the value of the id property.
 List<FacesConfigSupportedLocaleType> getSupportedLocale()
          Gets the value of the supportedLocale property.
 void setDefaultLocale(FacesConfigDefaultLocaleType value)
          Sets the value of the defaultLocale property.
 void setId(String value)
          Sets the value of the id property.
 
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 List<FacesConfigSupportedLocaleType> supportedLocale

id

protected String id
Constructor Detail

FacesConfigLocaleConfigType

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


FacesConfigLocaleConfigType

public FacesConfigLocaleConfigType(FacesConfigLocaleConfigType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.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 List<FacesConfigSupportedLocaleType> getSupportedLocale()
Gets the value of the supportedLocale property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the supportedLocale property.

For example, to add a new item, do as follows:

    getSupportedLocale().add(newItem);
 

Objects of the following type(s) are allowed in the list 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

public static void copySupportedLocale(List<FacesConfigSupportedLocaleType> source,
                                       List<FacesConfigSupportedLocaleType> target)
Copies all values of property SupportedLocale.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target 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.