org.apache.openejb.jee
Class FacesSupportedLocale

java.lang.Object
  extended by org.apache.openejb.jee.FacesSupportedLocale

public class FacesSupportedLocale
extends java.lang.Object

The "supported-locale" element allows authors to declare which locales are supported in this application instance. It must be specified as :language:[_:country:[_:variant:]] without the colons, for example "ja_JP_SJIS". The separators between the segments may be '-' or '_'.

Java class for faces-config-supported-localeType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-supported-localeType">
   <simpleContent>
     <extension base="<http://java.sun.com/xml/ns/javaee>faces-config-localeType">
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  java.lang.String id
           
protected  FacesLocale value
           
 
Constructor Summary
FacesSupportedLocale()
           
 
Method Summary
 java.lang.String getId()
          Gets the value of the id property.
 FacesLocale getValue()
          The localeType defines valid locale defined by ISO-639-1 and ISO-3166.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setValue(FacesLocale value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected FacesLocale value

id

protected java.lang.String id
Constructor Detail

FacesSupportedLocale

public FacesSupportedLocale()
Method Detail

getValue

public FacesLocale getValue()
The localeType defines valid locale defined by ISO-639-1 and ISO-3166.

Returns:
possible object is FacesLocale

setValue

public void setValue(FacesLocale value)
Sets the value of the value property.

Parameters:
value - allowed object is FacesLocale

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.