Class JsonBoolean
- java.lang.Object
-
- org.hl7.fhir.utilities.json.model.JsonElement
-
- org.hl7.fhir.utilities.json.model.JsonPrimitive
-
- org.hl7.fhir.utilities.json.model.JsonBoolean
-
public class JsonBoolean extends JsonPrimitive
-
-
Constructor Summary
Constructors Constructor Description JsonBoolean(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JsonElementcopy(JsonElement other)StringgetValue()booleanisValue()protected JsonElementmake()voidsetValue(boolean value)StringtoString()JsonElementTypetype()-
Methods inherited from class org.hl7.fhir.utilities.json.model.JsonPrimitive
toJson
-
Methods inherited from class org.hl7.fhir.utilities.json.model.JsonElement
asJsonArray, asJsonBoolean, asJsonNull, asJsonNumber, asJsonObject, asJsonPrimitive, asJsonString, asString, check, deepCopy, getComments, getEnd, getStart, hasComments, isJsonArray, isJsonBoolean, isJsonNull, isJsonNumber, isJsonObject, isJsonPrimitive, isJsonString, setEnd, setStart
-
-
-
-
Constructor Detail
-
JsonBoolean
public JsonBoolean(boolean value)
-
-
Method Detail
-
type
public JsonElementType type()
- Specified by:
typein classJsonElement
-
isValue
public boolean isValue()
-
setValue
public void setValue(boolean value)
-
getValue
public String getValue()
- Specified by:
getValuein classJsonPrimitive
-
copy
protected JsonElement copy(JsonElement other)
- Specified by:
copyin classJsonElement
-
make
protected JsonElement make()
- Specified by:
makein classJsonElement
-
-