public class ObjectValue extends Value
| Modifier and Type | Method and Description |
|---|---|
Value |
get(String propertyName) |
ArrayValue |
getArrayVal(String propertyName) |
BooleanValue |
getBooleanVal(String propertyName) |
DoubleValue |
getDoubleVal(String propertyName) |
IntValue |
getIntVal(String propertyName) |
LongValue |
getLongVal(String propertyName) |
NilValue |
getNilVal(String propertyName) |
ObjectValue |
getObjectVal(String propertyName) |
Set<String> |
getPropertyNames() |
StringValue |
getStringVal(String propertyName) |
boolean |
has(String propertyName) |
ObjectValue |
ignoreExtra() |
ObjectValue |
ignoreExtra(boolean val) |
boolean |
isIgnoreExtra() |
ObjectValue |
put(String propertyName) |
ObjectValue |
put(String propertyName,
boolean propertyValue) |
ObjectValue |
put(String propertyName,
double propertyValue) |
ObjectValue |
put(String propertyName,
int propertyValue) |
ObjectValue |
put(String propertyName,
long propertyValue) |
ObjectValue |
put(String propertyName,
String propertyValue) |
ObjectValue |
put(String propertyName,
Value propertyValue) |
ObjectValue |
remove(String propertyName) |
org.codehaus.jettison.json.JSONObject |
toJSONObject() |
public boolean isIgnoreExtra()
public ObjectValue ignoreExtra(boolean val)
public ObjectValue ignoreExtra()
public ObjectValue put(String propertyName, Value propertyValue)
public ObjectValue put(String propertyName, String propertyValue)
public ObjectValue put(String propertyName, long propertyValue)
public ObjectValue put(String propertyName, int propertyValue)
public ObjectValue put(String propertyName, double propertyValue)
public ObjectValue put(String propertyName, boolean propertyValue)
public ObjectValue put(String propertyName)
public ObjectValue remove(String propertyName)
public boolean has(String propertyName)
public ObjectValue getObjectVal(String propertyName)
public ArrayValue getArrayVal(String propertyName)
public StringValue getStringVal(String propertyName)
public DoubleValue getDoubleVal(String propertyName)
public BooleanValue getBooleanVal(String propertyName)
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.