public class FacesLocaleConfig
extends java.lang.Object
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>
Modifier and Type | Field and Description |
---|---|
protected FacesDefaultLocale |
defaultLocale |
protected java.lang.String |
id |
protected java.util.List<FacesSupportedLocale> |
supportedLocale |
Constructor and Description |
---|
FacesLocaleConfig() |
Modifier and Type | Method and Description |
---|---|
FacesDefaultLocale |
getDefaultLocale()
Gets the value of the defaultLocale property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<FacesSupportedLocale> |
getSupportedLocale()
Gets the value of the supportedLocale property.
|
void |
setDefaultLocale(FacesDefaultLocale value)
Sets the value of the defaultLocale property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
protected FacesDefaultLocale defaultLocale
protected java.util.List<FacesSupportedLocale> supportedLocale
protected java.lang.String id
public FacesDefaultLocale getDefaultLocale()
FacesDefaultLocale
public void setDefaultLocale(FacesDefaultLocale value)
value
- allowed object is
FacesDefaultLocale
public java.util.List<FacesSupportedLocale> getSupportedLocale()
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
FacesSupportedLocale
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String