Package org.apache.openejb.jee
Class FacesLocaleConfig
- java.lang.Object
-
- org.apache.openejb.jee.FacesLocaleConfig
-
public class FacesLocaleConfig extends Object
web-facesconfig_2_0.xsdJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected FacesDefaultLocaledefaultLocaleprotected Stringidprotected List<FacesSupportedLocale>supportedLocale
-
Constructor Summary
Constructors Constructor Description FacesLocaleConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacesDefaultLocalegetDefaultLocale()Gets the value of the defaultLocale property.StringgetId()Gets the value of the id property.List<FacesSupportedLocale>getSupportedLocale()Gets the value of the supportedLocale property.voidsetDefaultLocale(FacesDefaultLocale value)Sets the value of the defaultLocale property.voidsetId(String value)Sets the value of the id property.
-
-
-
Field Detail
-
defaultLocale
protected FacesDefaultLocale defaultLocale
-
supportedLocale
protected List<FacesSupportedLocale> supportedLocale
-
id
protected String id
-
-
Method Detail
-
getDefaultLocale
public FacesDefaultLocale getDefaultLocale()
Gets the value of the defaultLocale property.- Returns:
- possible object is
FacesDefaultLocale
-
setDefaultLocale
public void setDefaultLocale(FacesDefaultLocale value)
Sets the value of the defaultLocale property.- Parameters:
value- allowed object isFacesDefaultLocale
-
getSupportedLocale
public List<FacesSupportedLocale> 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 asetmethod 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 listFacesSupportedLocale
-
-