public class BooleanValue extends JsonValue
| Constructor and Description |
|---|
BooleanValue(boolean value)
Constructs new BooleanValue.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanValue() |
String |
getStringValue() |
boolean |
isBoolean() |
String |
toString() |
void |
writeTo(JsonWriter writer)
Write value in given writer.
|
addElement, addElement, getByteValue, getDoubleValue, getElement, getElements, getFloatValue, getIntValue, getKeys, getLongValue, getNumberValue, getShortValue, isArray, isDouble, isLong, isNull, isNumeric, isObject, isString, sizepublic BooleanValue(boolean value)
value - value.public String getStringValue()
getStringValue in class JsonValuepublic boolean isBoolean()
public boolean getBooleanValue()
getBooleanValue in class JsonValuepublic void writeTo(JsonWriter writer) throws JsonException
writeTo in class JsonValuewriter - Writer.JsonException - if any errors occurs.Copyright © 2018 eXo Platform SAS. All Rights Reserved.