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 boolean isBoolean()
public boolean getBooleanValue()
getBooleanValue in class JsonValuepublic String getStringValue()
getStringValue in class JsonValuepublic void writeTo(JsonWriter writer) throws JsonException
JsonValuewriteTo in class JsonValuewriter - Writer.JsonException - if any errors occurs.Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.