Package org.openqa.selenium.json
Enum Class JsonType
- All Implemented Interfaces:
Serializable
,Comparable<JsonType>
,Constable
Used to specify the pending JSON element type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBoolean valueend of inputend of arrayend of objectproperty namenull
valuenumeric valuestart of arraystart of objectstring value -
Method Summary
-
Enum Constant Details
-
BOOLEAN
Boolean value -
NAME
property name -
NULL
null
value -
NUMBER
numeric value -
START_MAP
start of object -
END_MAP
end of object -
START_COLLECTION
start of array -
END_COLLECTION
end of array -
STRING
string value -
END
end of input
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-