Enum JsonLexer.TokenType
- java.lang.Object
-
- java.lang.Enum<JsonLexer.TokenType>
-
- org.hl7.fhir.utilities.json.parser.JsonLexer.TokenType
-
- All Implemented Interfaces:
Serializable,Comparable<JsonLexer.TokenType>
- Enclosing class:
- JsonLexer
public static enum JsonLexer.TokenType extends Enum<JsonLexer.TokenType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonLexer.TokenTypevalueOf(String name)Returns the enum constant of this type with the specified name.static JsonLexer.TokenType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Open
public static final JsonLexer.TokenType Open
-
Close
public static final JsonLexer.TokenType Close
-
String
public static final JsonLexer.TokenType String
-
Number
public static final JsonLexer.TokenType Number
-
Colon
public static final JsonLexer.TokenType Colon
-
Comma
public static final JsonLexer.TokenType Comma
-
OpenArray
public static final JsonLexer.TokenType OpenArray
-
CloseArray
public static final JsonLexer.TokenType CloseArray
-
Eof
public static final JsonLexer.TokenType Eof
-
Null
public static final JsonLexer.TokenType Null
-
Boolean
public static final JsonLexer.TokenType Boolean
-
-
Method Detail
-
values
public static JsonLexer.TokenType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JsonLexer.TokenType c : JsonLexer.TokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonLexer.TokenType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-