|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pivot.json.JSONSerializerListener.Adapter
public static class JSONSerializerListener.Adapter
JSON serializer listener adapter.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.pivot.json.JSONSerializerListener |
|---|
JSONSerializerListener.Adapter |
| Constructor Summary | |
|---|---|
JSONSerializerListener.Adapter()
|
|
| Method Summary | |
|---|---|
void |
beginDictionary(JSONSerializer jsonSerializer,
Dictionary<String,?> value)
Called when the serializer has begun reading a dictionary value. |
void |
beginSequence(JSONSerializer jsonSerializer,
Sequence<?> value)
Called when the serializer has begun reading a sequence value. |
void |
endDictionary(JSONSerializer jsonSerializer)
Called when the serializer has finished reading a dictionary value. |
void |
endSequence(JSONSerializer jsonSerializer)
Called when the serializer has finished reading a sequence value. |
void |
readBoolean(JSONSerializer jsonSerializer,
Boolean value)
Called when the serializer has read a boolean value. |
void |
readKey(JSONSerializer jsonSerializer,
String key)
Called when the serializer has read a dictionary key. |
void |
readNull(JSONSerializer jsonSerializer)
Called when the serializer has read a null value. |
void |
readNumber(JSONSerializer jsonSerializer,
Number value)
Called when the serializer has read a numeric value. |
void |
readString(JSONSerializer jsonSerializer,
String value)
Called when the serializer has read a string value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSONSerializerListener.Adapter()
| Method Detail |
|---|
public void beginDictionary(JSONSerializer jsonSerializer,
Dictionary<String,?> value)
JSONSerializerListener
beginDictionary in interface JSONSerializerListenerpublic void endDictionary(JSONSerializer jsonSerializer)
JSONSerializerListener
endDictionary in interface JSONSerializerListener
public void readKey(JSONSerializer jsonSerializer,
String key)
JSONSerializerListener
readKey in interface JSONSerializerListener
public void beginSequence(JSONSerializer jsonSerializer,
Sequence<?> value)
JSONSerializerListener
beginSequence in interface JSONSerializerListenerpublic void endSequence(JSONSerializer jsonSerializer)
JSONSerializerListener
endSequence in interface JSONSerializerListener
public void readString(JSONSerializer jsonSerializer,
String value)
JSONSerializerListener
readString in interface JSONSerializerListener
public void readNumber(JSONSerializer jsonSerializer,
Number value)
JSONSerializerListener
readNumber in interface JSONSerializerListener
public void readBoolean(JSONSerializer jsonSerializer,
Boolean value)
JSONSerializerListener
readBoolean in interface JSONSerializerListenerpublic void readNull(JSONSerializer jsonSerializer)
JSONSerializerListener
readNull in interface JSONSerializerListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||