public static enum JsonParser.Event extends EnumSE<JsonParser.Event>
JsonParser
からのイベント。列挙型定数と説明 |
---|
END_ARRAY JSON 配列の終わり。 |
END_OBJECT JSON オブジェクトの終わり。 |
KEY_NAME JSON オブジェクトの名前と値のペアの名前。 |
START_ARRAY JSON 配列の開始。 |
START_OBJECT JSON オブジェクトの開始。 |
VALUE_FALSE JSON 配列またはオブジェクトの false 値。 |
VALUE_NULL JSON 配列またはオブジェクトの null 値。 |
VALUE_NUMBER JSON 配列またはオブジェクトの数値。 |
VALUE_STRING JSON 配列またはオブジェクトの文字列値。 |
VALUE_TRUE JSON 配列またはオブジェクトの true 値。 |
修飾子と型 | メソッドと説明 |
---|---|
static JsonParser.Event | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static JsonParser.Event[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public static final JsonParser.Event START_ARRAY
public static final JsonParser.Event START_OBJECT
public static final JsonParser.Event KEY_NAME
JsonParser.getString()
は、キー名を返します。public static final JsonParser.Event VALUE_STRING
JsonParser.getString()
は、文字列値を返します。public static final JsonParser.Event VALUE_NUMBER
JsonParser
は、数値にアクセスするための次のメソッドを提供します: JsonParser.getInt()
、JsonParser.getLong()
、JsonParser.getBigDecimal()
。public static final JsonParser.Event VALUE_TRUE
true
値。パーサーの位置は、true
値の後にあります。public static final JsonParser.Event VALUE_FALSE
false
値。パーサーの位置は、false
値の後にあります。public static final JsonParser.Event VALUE_NULL
null
値。パーサーの位置は、null
値の後にあります。public static final JsonParser.Event END_OBJECT
public static final JsonParser.Event END_ARRAY
public static JsonParser.Event[] values()
for (JsonParser.Event c : JsonParser.Event.values()) System.out.println(c);
public static JsonParser.Event valueOf(StringSE name)
name
- 返される列挙定数の名前。IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合 Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.