org.apache.openejb.jee
Class FacesDefaultLocale

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

public class FacesDefaultLocale
extends java.lang.Object

The "default-locale" element declares the default locale for 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-default-localeType complex type.

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

 <complexType name="faces-config-default-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
FacesDefaultLocale()
           
 
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

FacesDefaultLocale

public FacesDefaultLocale()
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.