Package org.hl7.fhir.utilities.json
Enum JsonTrackingParser.TokenType
- java.lang.Object
-
- java.lang.Enum<JsonTrackingParser.TokenType>
-
- org.hl7.fhir.utilities.json.JsonTrackingParser.TokenType
-
- All Implemented Interfaces:
Serializable,Comparable<JsonTrackingParser.TokenType>
- Enclosing class:
- JsonTrackingParser
public static enum JsonTrackingParser.TokenType extends Enum<JsonTrackingParser.TokenType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonTrackingParser.TokenTypevalueOf(String name)Returns the enum constant of this type with the specified name.static JsonTrackingParser.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 JsonTrackingParser.TokenType Open
-
Close
public static final JsonTrackingParser.TokenType Close
-
String
public static final JsonTrackingParser.TokenType String
-
Number
public static final JsonTrackingParser.TokenType Number
-
Colon
public static final JsonTrackingParser.TokenType Colon
-
Comma
public static final JsonTrackingParser.TokenType Comma
-
OpenArray
public static final JsonTrackingParser.TokenType OpenArray
-
CloseArray
public static final JsonTrackingParser.TokenType CloseArray
-
Eof
public static final JsonTrackingParser.TokenType Eof
-
Null
public static final JsonTrackingParser.TokenType Null
-
Boolean
public static final JsonTrackingParser.TokenType Boolean
-
-
Method Detail
-
values
public static JsonTrackingParser.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 (JsonTrackingParser.TokenType c : JsonTrackingParser.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 JsonTrackingParser.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
-
-