org.exoplatform.ws.frameworks.json.value.impl
Class NullValue

java.lang.Object
  extended by org.exoplatform.ws.frameworks.json.value.JsonValue
      extended by org.exoplatform.ws.frameworks.json.value.impl.NullValue

public class NullValue
extends JsonValue

Version:
$Id: $
Author:
Andrey Parfonov

Constructor Summary
NullValue()
           
 
Method Summary
 boolean isNull()
          
 String toString()
          
 void writeTo(JsonWriter writer)
          Write value in given writer.
 
Methods inherited from class org.exoplatform.ws.frameworks.json.value.JsonValue
addElement, addElement, getBooleanValue, getByteValue, getDoubleValue, getElement, getElements, getFloatValue, getIntValue, getKeys, getLongValue, getNumberValue, getShortValue, getStringValue, isArray, isBoolean, isDouble, isLong, isNumeric, isObject, isString, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullValue

public NullValue()
Method Detail

isNull

public boolean isNull()

Overrides:
isNull in class JsonValue
Returns:
true if value is 'null', false otherwise. Should be overridden.

toString

public String toString()

Specified by:
toString in class JsonValue

writeTo

public void writeTo(JsonWriter writer)
             throws JsonException
Write value in given writer.

Specified by:
writeTo in class JsonValue
Parameters:
writer - Writer.
Throws:
JsonException - if any errors occurs.


Copyright © 2009 eXo Platform SAS. All Rights Reserved.