Enum Class JsonParser.TokenType

java.lang.Object
java.lang.Enum<JsonParser.TokenType>
nablarch.core.util.JsonParser.TokenType
All Implemented Interfaces:
Serializable, Comparable<JsonParser.TokenType>, Constable
Enclosing class:
JsonParser

public static enum JsonParser.TokenType extends Enum<JsonParser.TokenType>
トークン種別
  • Enum Constant Details

  • Method Details

    • values

      public static JsonParser.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 JsonParser.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
    • matches

      public boolean matches(String token)
      トークンがパターンにマッチするか判定します
      Parameters:
      token - トークン
      Returns:
      マッチする場合true