|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ikrs.json.AbstractJSONValue ikrs.json.JSONNull
public class JSONNull
Field Summary |
---|
Fields inherited from interface ikrs.json.JSONValue |
---|
FALSE, NULL, TRUE, TYPE_ARRAY, TYPE_BOOLEAN, TYPE_NULL, TYPE_NUMBER, TYPE_OBJECT, TYPE_STRING |
Constructor Summary | |
---|---|
JSONNull()
Create a new JSON null. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
void |
write(java.io.Writer writer)
This method MUST write a valid JSON value to the passed writer. |
Methods inherited from class ikrs.json.AbstractJSONValue |
---|
asJSONArray, asJSONBoolean, asJSONNumber, asJSONObject, asJSONString, getArray, getBoolean, getNumber, getObject, getString, getTypeName, isArray, isBoolean, isNull, isNumber, isObject, isString, isValidTypeID, toJSONString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JSONNull() throws java.lang.NullPointerException
object
- The object value this JSON value should have.
java.lang.NullPointerException
Method Detail |
---|
public void write(java.io.Writer writer) throws java.io.IOException
write
in interface JSONValue
write
in class AbstractJSONValue
writer
- The writer to write to.
java.io.IOException
- If any IO errors occur.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |