Package org.apache.johnzon.core
Class JohnzonJsonParser.JohnzonJsonParserWrapper
- java.lang.Object
-
- org.apache.johnzon.core.JohnzonJsonParser.JohnzonJsonParserWrapper
-
- All Implemented Interfaces:
jakarta.json.stream.JsonParser
,Closeable
,AutoCloseable
,JohnzonJsonParser
- Enclosing interface:
- JohnzonJsonParser
public static class JohnzonJsonParser.JohnzonJsonParserWrapper extends Object implements JohnzonJsonParser
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.johnzon.core.JohnzonJsonParser
JohnzonJsonParser.JohnzonJsonParserWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private jakarta.json.stream.JsonParser
jsonParser
-
Constructor Summary
Constructors Constructor Description JohnzonJsonParserWrapper(jakarta.json.stream.JsonParser jsonParser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
jakarta.json.JsonArray
getArray()
Stream<jakarta.json.JsonValue>
getArrayStream()
BigDecimal
getBigDecimal()
int
getInt()
jakarta.json.stream.JsonLocation
getLocation()
long
getLong()
jakarta.json.JsonObject
getObject()
Stream<Map.Entry<String,jakarta.json.JsonValue>>
getObjectStream()
String
getString()
jakarta.json.JsonValue
getValue()
Stream<jakarta.json.JsonValue>
getValueStream()
boolean
hasNext()
boolean
isFitLong()
boolean
isIntegralNumber()
boolean
isNotTooLong()
jakarta.json.stream.JsonParser.Event
next()
void
skipArray()
void
skipObject()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.johnzon.core.JohnzonJsonParser
current
-
-
-
-
Method Detail
-
isFitLong
public boolean isFitLong()
- Specified by:
isFitLong
in interfaceJohnzonJsonParser
-
isNotTooLong
public boolean isNotTooLong()
- Specified by:
isNotTooLong
in interfaceJohnzonJsonParser
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejakarta.json.stream.JsonParser
-
next
public jakarta.json.stream.JsonParser.Event next()
- Specified by:
next
in interfacejakarta.json.stream.JsonParser
-
getString
public String getString()
- Specified by:
getString
in interfacejakarta.json.stream.JsonParser
-
isIntegralNumber
public boolean isIntegralNumber()
- Specified by:
isIntegralNumber
in interfacejakarta.json.stream.JsonParser
-
getInt
public int getInt()
- Specified by:
getInt
in interfacejakarta.json.stream.JsonParser
-
getLong
public long getLong()
- Specified by:
getLong
in interfacejakarta.json.stream.JsonParser
-
getBigDecimal
public BigDecimal getBigDecimal()
- Specified by:
getBigDecimal
in interfacejakarta.json.stream.JsonParser
-
getLocation
public jakarta.json.stream.JsonLocation getLocation()
- Specified by:
getLocation
in interfacejakarta.json.stream.JsonParser
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfacejakarta.json.stream.JsonParser
-
getObject
public jakarta.json.JsonObject getObject()
- Specified by:
getObject
in interfacejakarta.json.stream.JsonParser
-
getValue
public jakarta.json.JsonValue getValue()
- Specified by:
getValue
in interfacejakarta.json.stream.JsonParser
-
getArray
public jakarta.json.JsonArray getArray()
- Specified by:
getArray
in interfacejakarta.json.stream.JsonParser
-
getArrayStream
public Stream<jakarta.json.JsonValue> getArrayStream()
- Specified by:
getArrayStream
in interfacejakarta.json.stream.JsonParser
-
getObjectStream
public Stream<Map.Entry<String,jakarta.json.JsonValue>> getObjectStream()
- Specified by:
getObjectStream
in interfacejakarta.json.stream.JsonParser
-
getValueStream
public Stream<jakarta.json.JsonValue> getValueStream()
- Specified by:
getValueStream
in interfacejakarta.json.stream.JsonParser
-
skipArray
public void skipArray()
- Specified by:
skipArray
in interfacejakarta.json.stream.JsonParser
-
skipObject
public void skipObject()
- Specified by:
skipObject
in interfacejakarta.json.stream.JsonParser
-
-