public class SimpleContentHandler extends Object implements org.json.simple.parser.ContentHandler
Constructor and Description |
---|
SimpleContentHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
endArray() |
void |
endJSON() |
boolean |
endObject() |
boolean |
endObjectEntry() |
Object |
getResult() |
boolean |
primitive(Object value) |
boolean |
startArray() |
void |
startJSON() |
boolean |
startObject() |
boolean |
startObjectEntry(String key) |
public void startJSON() throws org.json.simple.parser.ParseException, IOException
startJSON
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public void endJSON() throws org.json.simple.parser.ParseException, IOException
endJSON
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public boolean startObject() throws org.json.simple.parser.ParseException, IOException
startObject
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public boolean endObject() throws org.json.simple.parser.ParseException, IOException
endObject
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public boolean startObjectEntry(String key) throws org.json.simple.parser.ParseException, IOException
startObjectEntry
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public boolean endObjectEntry() throws org.json.simple.parser.ParseException, IOException
endObjectEntry
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public boolean startArray() throws org.json.simple.parser.ParseException, IOException
startArray
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public boolean endArray() throws org.json.simple.parser.ParseException, IOException
endArray
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public boolean primitive(Object value) throws org.json.simple.parser.ParseException, IOException
primitive
in interface org.json.simple.parser.ContentHandler
org.json.simple.parser.ParseException
IOException
public Object getResult()
Copyright © 2020. All rights reserved.