Top Description Fields Constructors Methods
com.mysql.cj.xdevapi

public final Enum JsonLiteral

extends Enum<JsonLiteral>
implements JsonValue
Class Inheritance
All Implemented Interfaces
com.mysql.cj.xdevapi.JsonValue

Represents JSON true, false and null literals.

Field Summary

Modifier and TypeField and Description
public static final JsonLiteral
public static final JsonLiteral
public static final JsonLiteral
public final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.

public static JsonLiteral
public static JsonLiteral[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

FALSEback to summary
public static final JsonLiteral FALSE
NULLback to summary
public static final JsonLiteral NULL
TRUEback to summary
public static final JsonLiteral TRUE
valueback to summary
public final String value

Constructor Detail

JsonLiteralback to summary
private JsonLiteral(String val)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Enum.toString.

Doc from java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.

Returns:String

the name of this enum constant

Annotations
@Override
valueOfback to summary
public static JsonLiteral valueOf(String name)
valuesback to summary
public static JsonLiteral[] values()