|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.FacesLocaleConfig
public class FacesLocaleConfig
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>
Field Summary | |
---|---|
protected FacesDefaultLocale |
defaultLocale
|
protected String |
id
|
protected List<FacesSupportedLocale> |
supportedLocale
|
Constructor Summary | |
---|---|
FacesLocaleConfig()
|
Method Summary | |
---|---|
FacesDefaultLocale |
getDefaultLocale()
Gets the value of the defaultLocale property. |
String |
getId()
Gets the value of the id property. |
List<FacesSupportedLocale> |
getSupportedLocale()
Gets the value of the supportedLocale property. |
void |
setDefaultLocale(FacesDefaultLocale 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FacesDefaultLocale defaultLocale
protected List<FacesSupportedLocale> supportedLocale
protected String id
Constructor Detail |
---|
public FacesLocaleConfig()
Method Detail |
---|
public FacesDefaultLocale getDefaultLocale()
FacesDefaultLocale
public void setDefaultLocale(FacesDefaultLocale value)
value
- allowed object is
FacesDefaultLocale
public List<FacesSupportedLocale> getSupportedLocale()
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
FacesSupportedLocale
public String getId()
String
public void setId(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |