Enum Class Locale

java.lang.Object
java.lang.Enum<Locale>
org.orcid.jaxb.model.message.Locale
All Implemented Interfaces:
Serializable, Comparable<Locale>, Constable

public enum Locale extends Enum<Locale> implements Serializable
Java class for visibility. The following schema fragment specifies the expected content contained within this class.
 <simpleType name="locale">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="en"/>
     <enumeration value="es"/>
     <enumeration value="fr"/>
     <enumeration value="zh_TW"/>
     <enumeration value="zh_CN"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • AR

      public static final Locale AR
    • EN

      public static final Locale EN
    • ES

      public static final Locale ES
    • FR

      public static final Locale FR
    • KO

      public static final Locale KO
    • PT

      public static final Locale PT
    • RU

      public static final Locale RU
    • ZH_CN

      public static final Locale ZH_CN
    • ZH_TW

      public static final Locale ZH_TW
    • IT

      public static final Locale IT
    • JA

      public static final Locale JA
    • XX

      public static final Locale XX
  • Method Details

    • values

      public static Locale[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Locale valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • jsonValue

      public String jsonValue()
    • fromValue

      public static Locale fromValue(String v)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Locale>