net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.javaee
Interface FacesConfigLocaleConfigType

All Known Implementing Classes:
FacesConfigLocaleConfigTypeImpl

public interface FacesConfigLocaleConfigType

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>
 


Method Summary
 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)
           
 

Method Detail

getDefaultLocale

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

Returns:
possible object is FacesConfigDefaultLocaleType

setDefaultLocale

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

Parameters:
value - allowed object is FacesConfigDefaultLocaleType

getSupportedLocale

FacesConfigSupportedLocaleType[] getSupportedLocale()
Returns:
array of FacesConfigSupportedLocaleType

getSupportedLocale

FacesConfigSupportedLocaleType getSupportedLocale(int idx)
Returns:
one of FacesConfigSupportedLocaleType

getSupportedLocaleLength

int getSupportedLocaleLength()

setSupportedLocale

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

setSupportedLocale

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

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.