|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.sentinel.json.NullJSONHandlerImpl
public class NullJSONHandlerImpl
Base class for implementations that handle part of a JSON object.
Constructor Summary | |
---|---|
NullJSONHandlerImpl()
|
Method Summary | |
---|---|
JSONHandler |
booleanValue(boolean booleanValue)
Report a JSON boolean value. |
JSONHandler |
endArray()
End the current JSON array. |
JSONHandler |
endObject()
End the current JSON object. |
protected JSONHandler |
exception()
|
JSONHandler |
name(String valueName)
Report the name for the following value (object, array, or simple value). |
JSONHandler |
nullValue()
Report a JSON null value. |
JSONHandler |
numberValue(String numberValue)
Report a JSON number value. |
JSONHandler |
startArray()
Start a new JSON array. |
JSONHandler |
startObject()
Start a new JSON object. |
JSONHandler |
stringValue(String value)
Report a JSON string value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullJSONHandlerImpl()
Method Detail |
---|
protected JSONHandler exception() throws IOException
IOException
public JSONHandler startObject() throws IOException
JSONHandler
startObject
in interface JSONHandler
IOException
public JSONHandler endObject() throws IOException
JSONHandler
endObject
in interface JSONHandler
IOException
public JSONHandler startArray() throws IOException
JSONHandler
startArray
in interface JSONHandler
IOException
public JSONHandler endArray() throws IOException
JSONHandler
endArray
in interface JSONHandler
IOException
public JSONHandler name(String valueName) throws IOException
JSONHandler
name
in interface JSONHandler
valueName
- The value name.
IOException
public JSONHandler stringValue(String value) throws IOException
JSONHandler
stringValue
in interface JSONHandler
value
- The value.
IOException
public JSONHandler numberValue(String numberValue) throws IOException
JSONHandler
numberValue
in interface JSONHandler
numberValue
- The lexical representation of a JSON number value.
IOException
public JSONHandler booleanValue(boolean booleanValue) throws IOException
JSONHandler
booleanValue
in interface JSONHandler
booleanValue
- true or false
IOException
public JSONHandler nullValue() throws IOException
JSONHandler
nullValue
in interface JSONHandler
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |