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.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic void endJSON()
throws org.json.simple.parser.ParseException,
IOException
endJSON in interface org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean startObject()
throws org.json.simple.parser.ParseException,
IOException
startObject in interface org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean endObject()
throws org.json.simple.parser.ParseException,
IOException
endObject in interface org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean startObjectEntry(String key) throws org.json.simple.parser.ParseException, IOException
startObjectEntry in interface org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean endObjectEntry()
throws org.json.simple.parser.ParseException,
IOException
endObjectEntry in interface org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean startArray()
throws org.json.simple.parser.ParseException,
IOException
startArray in interface org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean endArray()
throws org.json.simple.parser.ParseException,
IOException
endArray in interface org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean primitive(Object value) throws org.json.simple.parser.ParseException, IOException
primitive in interface org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic Object getResult()
Copyright © 2018 JBoss by Red Hat. All rights reserved.