Enum Class TokenType

java.lang.Object
java.lang.Enum<TokenType>
ca.phon.ipa.xml.TokenType
All Implemented Interfaces:
Serializable, Comparable<TokenType>, Constable

public enum TokenType extends Enum<TokenType>

Java class for tokenType.

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

 <simpleType name="tokenType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="CONSONANT"/>
     <enumeration value="VOWEL"/>
     <enumeration value="COMBINING_DIACRITIC"/>
     <enumeration value="PREFIX_DIACRITIC"/>
     <enumeration value="SUFFIX_DIACRITIC"/>
     <enumeration value="OPEN_PAREN"/>
     <enumeration value="CLOSE_PAREN"/>
     <enumeration value="COVER_SYMBOL"/>
     <enumeration value="HALF_LONG"/>
     <enumeration value="LONG"/>
     <enumeration value="MAJOR_GROUP"/>
     <enumeration value="MINOR_GROUP"/>
     <enumeration value="PERIOD"/>
     <enumeration value="PLUS"/>
     <enumeration value="TILDE"/>
     <enumeration value="PRIMARY_STRESS"/>
     <enumeration value="SECONDARY_STRESS"/>
     <enumeration value="SPACE"/>
     <enumeration value="ROLE_REVERSAL"/>
     <enumeration value="LIGATURE"/>
     <enumeration value="GLIDE"/>
     <enumeration value="TONE_NUMBER"/>
     <enumeration value="SANDHI"/>
     <enumeration value="OPEN_BRACE"/>
     <enumeration value="CLOSE_BRACE"/>
     <enumeration value="BACKSLASH"/>
     <enumeration value="GROUP_NAME"/>
     <enumeration value="DIGIT"/>
     <enumeration value="COLON"/>
     <enumeration value="INTRA_WORD_PAUSE"/>
     <enumeration value="ALIGNMENT"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • CONSONANT

      public static final TokenType CONSONANT
    • VOWEL

      public static final TokenType VOWEL
    • COMBINING_DIACRITIC

      public static final TokenType COMBINING_DIACRITIC
    • PREFIX_DIACRITIC

      public static final TokenType PREFIX_DIACRITIC
    • SUFFIX_DIACRITIC

      public static final TokenType SUFFIX_DIACRITIC
    • OPEN_PAREN

      public static final TokenType OPEN_PAREN
    • CLOSE_PAREN

      public static final TokenType CLOSE_PAREN
    • COVER_SYMBOL

      public static final TokenType COVER_SYMBOL
    • HALF_LONG

      public static final TokenType HALF_LONG
    • LONG

      public static final TokenType LONG
    • MAJOR_GROUP

      public static final TokenType MAJOR_GROUP
    • MINOR_GROUP

      public static final TokenType MINOR_GROUP
    • PERIOD

      public static final TokenType PERIOD
    • PLUS

      public static final TokenType PLUS
    • TILDE

      public static final TokenType TILDE
    • PRIMARY_STRESS

      public static final TokenType PRIMARY_STRESS
    • SECONDARY_STRESS

      public static final TokenType SECONDARY_STRESS
    • SPACE

      public static final TokenType SPACE
    • ROLE_REVERSAL

      public static final TokenType ROLE_REVERSAL
    • LIGATURE

      public static final TokenType LIGATURE
    • GLIDE

      public static final TokenType GLIDE
    • TONE_NUMBER

      public static final TokenType TONE_NUMBER
    • SANDHI

      public static final TokenType SANDHI
    • OPEN_BRACE

      public static final TokenType OPEN_BRACE
    • CLOSE_BRACE

      public static final TokenType CLOSE_BRACE
    • BACKSLASH

      public static final TokenType BACKSLASH
    • GROUP_NAME

      public static final TokenType GROUP_NAME
    • DIGIT

      public static final TokenType DIGIT
    • COLON

      public static final TokenType COLON
    • INTRA_WORD_PAUSE

      public static final TokenType INTRA_WORD_PAUSE
    • ALIGNMENT

      public static final TokenType ALIGNMENT
  • Method Details

    • values

      public static TokenType[] 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 TokenType 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()
    • fromValue

      public static TokenType fromValue(String v)