|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minidev.json.parser.ContentHandlerCompressor
public class ContentHandlerCompressor
| Constructor Summary | |
|---|---|
ContentHandlerCompressor(Appendable out,
JSONStyle compression)
|
|
| Method Summary | |
|---|---|
boolean |
endArray()
Receive notification of the end of a JSON array. |
void |
endJSON()
Receive notification of the end of JSON processing. |
boolean |
endObject()
Receive notification of the end of a JSON object. |
boolean |
endObjectEntry()
Receive notification of the end of the value of previous object entry. |
boolean |
primitive(Object value)
Receive notification of the JSON primitive values: java.lang.String, java.lang.Number, java.lang.Boolean null |
boolean |
startArray()
Receive notification of the beginning of a JSON array. |
void |
startJSON()
Receive notification of the beginning of JSON processing. |
boolean |
startObject()
Receive notification of the beginning of a JSON object. |
boolean |
startObjectEntry(String key)
Receive notification of the beginning of a JSON object entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentHandlerCompressor(Appendable out,
JSONStyle compression)
| Method Detail |
|---|
public void startJSON()
throws ParseException,
IOException
ContentHandler
startJSON in interface ContentHandlerParseException - - JSONParser will stop and throw the same exception to the caller when receiving this exception.
IOException
public void endJSON()
throws ParseException,
IOException
ContentHandler
endJSON in interface ContentHandlerParseException
IOException
public boolean startObject()
throws ParseException,
IOException
ContentHandler
startObject in interface ContentHandlerParseException - - JSONParser will stop and throw the same exception to the caller when receiving this exception.
IOExceptionContentHandler.endJSON()
public boolean endObject()
throws ParseException,
IOException
ContentHandler
endObject in interface ContentHandlerParseException
IOExceptionContentHandler.startObject()
public boolean startObjectEntry(String key)
throws ParseException,
IOException
ContentHandler
startObjectEntry in interface ContentHandlerkey - - Key of a JSON object entry.
ParseException
IOExceptionContentHandler.endObjectEntry()
public boolean endObjectEntry()
throws ParseException,
IOException
ContentHandler
endObjectEntry in interface ContentHandlerParseException
IOExceptionContentHandler.startObjectEntry(java.lang.String)
public boolean startArray()
throws ParseException,
IOException
ContentHandler
startArray in interface ContentHandlerParseException
IOExceptionContentHandler.endArray()
public boolean endArray()
throws ParseException,
IOException
ContentHandler
endArray in interface ContentHandlerParseException
IOExceptionContentHandler.startArray()
public boolean primitive(Object value)
throws ParseException,
IOException
ContentHandler
primitive in interface ContentHandlervalue - - Instance of the following:
java.lang.String,
java.lang.Number,
java.lang.Boolean
null
ParseException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||