Class FacesLocale


  • public class FacesLocale
    extends Object
    web-facesconfig_2_0.xsd

    Java class for faces-config-localeType simple type.

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

     <simpleType name="faces-config-localeType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?"/>
       </restriction>
     </simpleType>
     
    • Field Detail

      • value

        protected String value
    • Constructor Detail

      • FacesLocale

        public FacesLocale()
    • Method Detail

      • getValue

        public String getValue()
        The localeType defines valid locale defined by ISO-639-1 and ISO-3166.
        Returns:
        possible object is String
      • setValue

        public void setValue​(String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String