public class JsonSimpleHandlerAdapter extends Object implements org.json.simple.parser.ContentHandler
| 构造器和说明 |
|---|
JsonSimpleHandlerAdapter(JsonSaxHandler jsonSaxHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
endArray() |
void |
endJSON() |
boolean |
endObject() |
boolean |
endObjectEntry() |
boolean |
primitive(Object value) |
boolean |
startArray() |
void |
startJSON() |
boolean |
startObject() |
boolean |
startObjectEntry(String key) |
public JsonSimpleHandlerAdapter(JsonSaxHandler jsonSaxHandler)
public void startJSON()
throws org.json.simple.parser.ParseException,
IOException
startJSON 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic void endJSON()
throws org.json.simple.parser.ParseException,
IOException
endJSON 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean startObject()
throws org.json.simple.parser.ParseException,
IOException
startObject 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean endObject()
throws org.json.simple.parser.ParseException,
IOException
endObject 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean startObjectEntry(String key) throws org.json.simple.parser.ParseException, IOException
startObjectEntry 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean endObjectEntry()
throws org.json.simple.parser.ParseException,
IOException
endObjectEntry 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean startArray()
throws org.json.simple.parser.ParseException,
IOException
startArray 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean endArray()
throws org.json.simple.parser.ParseException,
IOException
endArray 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionpublic boolean primitive(Object value) throws org.json.simple.parser.ParseException, IOException
primitive 在接口中 org.json.simple.parser.ContentHandlerorg.json.simple.parser.ParseExceptionIOExceptionCopyright © 2020. All rights reserved.