public static class JohnzonJsonParser.JohnzonJsonParserWrapper extends Object implements JohnzonJsonParser
JohnzonJsonParser.JohnzonJsonParserWrapper
Modifier and Type | Field and Description |
---|---|
private javax.json.stream.JsonParser |
jsonParser |
Constructor and Description |
---|
JohnzonJsonParserWrapper(javax.json.stream.JsonParser jsonParser) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.json.JsonArray |
getArray() |
Stream<javax.json.JsonValue> |
getArrayStream() |
BigDecimal |
getBigDecimal() |
int |
getInt() |
javax.json.stream.JsonLocation |
getLocation() |
long |
getLong() |
javax.json.JsonObject |
getObject() |
Stream<Map.Entry<String,javax.json.JsonValue>> |
getObjectStream() |
String |
getString() |
javax.json.JsonValue |
getValue() |
Stream<javax.json.JsonValue> |
getValueStream() |
boolean |
hasNext() |
boolean |
isFitLong() |
boolean |
isIntegralNumber() |
boolean |
isNotTooLong() |
javax.json.stream.JsonParser.Event |
next() |
void |
skipArray() |
void |
skipObject() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
current
public JohnzonJsonParserWrapper(javax.json.stream.JsonParser jsonParser)
public boolean isFitLong()
isFitLong
in interface JohnzonJsonParser
public boolean isNotTooLong()
isNotTooLong
in interface JohnzonJsonParser
public boolean hasNext()
hasNext
in interface javax.json.stream.JsonParser
public javax.json.stream.JsonParser.Event next()
next
in interface javax.json.stream.JsonParser
public String getString()
getString
in interface javax.json.stream.JsonParser
public boolean isIntegralNumber()
isIntegralNumber
in interface javax.json.stream.JsonParser
public int getInt()
getInt
in interface javax.json.stream.JsonParser
public long getLong()
getLong
in interface javax.json.stream.JsonParser
public BigDecimal getBigDecimal()
getBigDecimal
in interface javax.json.stream.JsonParser
public javax.json.stream.JsonLocation getLocation()
getLocation
in interface javax.json.stream.JsonParser
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface javax.json.stream.JsonParser
public javax.json.JsonObject getObject()
getObject
in interface javax.json.stream.JsonParser
public javax.json.JsonValue getValue()
getValue
in interface javax.json.stream.JsonParser
public javax.json.JsonArray getArray()
getArray
in interface javax.json.stream.JsonParser
public Stream<javax.json.JsonValue> getArrayStream()
getArrayStream
in interface javax.json.stream.JsonParser
public Stream<Map.Entry<String,javax.json.JsonValue>> getObjectStream()
getObjectStream
in interface javax.json.stream.JsonParser
public Stream<javax.json.JsonValue> getValueStream()
getValueStream
in interface javax.json.stream.JsonParser
public void skipArray()
skipArray
in interface javax.json.stream.JsonParser
public void skipObject()
skipObject
in interface javax.json.stream.JsonParser
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.