mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
39 lines
1.2 KiB
Java
Generated
39 lines
1.2 KiB
Java
Generated
// Generated automatically from javax.json.stream.JsonParser for testing purposes
|
|
|
|
package javax.json.stream;
|
|
|
|
import java.io.Closeable;
|
|
import java.math.BigDecimal;
|
|
import java.util.Map;
|
|
import java.util.stream.Stream;
|
|
import javax.json.JsonArray;
|
|
import javax.json.JsonObject;
|
|
import javax.json.JsonValue;
|
|
import javax.json.stream.JsonLocation;
|
|
|
|
public interface JsonParser extends Closeable
|
|
{
|
|
BigDecimal getBigDecimal();
|
|
JsonLocation getLocation();
|
|
JsonParser.Event next();
|
|
String getString();
|
|
boolean hasNext();
|
|
boolean isIntegralNumber();
|
|
default JsonArray getArray(){ return null; }
|
|
default JsonObject getObject(){ return null; }
|
|
default JsonValue getValue(){ return null; }
|
|
default Stream<JsonValue> getArrayStream(){ return null; }
|
|
default Stream<JsonValue> getValueStream(){ return null; }
|
|
default Stream<Map.Entry<String, JsonValue>> getObjectStream(){ return null; }
|
|
default void skipArray(){}
|
|
default void skipObject(){}
|
|
int getInt();
|
|
long getLong();
|
|
static public enum Event
|
|
{
|
|
END_ARRAY, END_OBJECT, KEY_NAME, START_ARRAY, START_OBJECT, VALUE_FALSE, VALUE_NULL, VALUE_NUMBER, VALUE_STRING, VALUE_TRUE;
|
|
private Event() {}
|
|
}
|
|
void close();
|
|
}
|