|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JsonHandler
A handler for events from a JsonParser
.
Method Summary | |
---|---|
void |
booleanLit(boolean b)
Called when a boolean literal is encountered. |
void |
closeArg()
Called when an argument of a constructor function is closed. |
void |
closeArray()
Called when a JSON array is closed. |
void |
closeArrayEntry()
Called when an entry of a JSON array is closed. |
void |
closeConstr()
Called when a constructor function is closed. |
void |
closeEntry()
Called when an entry of a JSON object is closed. |
void |
closeObject()
Called when a JSON object is closed. |
void |
nullLit()
Called when a null literal is encountered. |
void |
numberLit(byte[] value)
Called when a number literal is encountered. |
void |
openArg()
Called when an argument of a constructor function is opened. |
void |
openArray()
Called when a JSON array is opened. |
void |
openArrayEntry()
Called when an entry of a JSON array is opened. |
void |
openConstr(byte[] name)
Called when a constructor function is opened. |
void |
openEntry(byte[] key)
Called when an entry of a JSON object is opened. |
void |
openObject()
Called when a JSON object is opened. |
void |
stringLit(byte[] bs)
Called when a string literal is encountered. |
Method Detail |
---|
void openObject() throws QueryException
QueryException
- query exceptionvoid openEntry(byte[] key) throws QueryException
key
- the key of the entry
QueryException
- query exceptionvoid closeEntry() throws QueryException
QueryException
- query exceptionvoid closeObject() throws QueryException
QueryException
- query exceptionvoid openArray() throws QueryException
QueryException
- query exceptionvoid openArrayEntry() throws QueryException
QueryException
- query exceptionvoid closeArrayEntry() throws QueryException
QueryException
- query exceptionvoid closeArray() throws QueryException
QueryException
- query exceptionvoid openConstr(byte[] name) throws QueryException
name
- name of the constructor
QueryException
- query exceptionvoid openArg() throws QueryException
QueryException
- query exceptionvoid closeArg() throws QueryException
QueryException
- query exceptionvoid closeConstr() throws QueryException
QueryException
- query exceptionvoid numberLit(byte[] value) throws QueryException
value
- string representation of the number literal
QueryException
- query exceptionvoid stringLit(byte[] bs) throws QueryException
bs
- the string
QueryException
- query exceptionvoid nullLit() throws QueryException
null
literal is encountered.
QueryException
- query exceptionvoid booleanLit(boolean b) throws QueryException
b
- the boolean
QueryException
- query exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |