public class JsonAttributeImpl extends Object implements JsonAttribute, JsonGroup, JsonMember
| Constructor and Description |
|---|
JsonAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
JsonObjectImpl |
group() |
int |
memberIndex(JsonMember m) |
JsonStringLiteralImpl |
name()
Name literal of json attribute
|
void |
remove()
Removes this attribute from parent object.
|
void |
setGroup(JsonGroup group) |
void |
setName(JsonStringLiteralImpl name) |
void |
setValue(JsonValue value) |
JsonValue |
value()
Value of json attribute.
|
public JsonStringLiteralImpl name()
JsonAttributename in interface JsonAttributepublic JsonValue value()
JsonAttributevalue in interface JsonAttributepublic void setName(JsonStringLiteralImpl name)
public void setValue(JsonValue value)
public JsonObjectImpl group()
group in interface JsonMemberpublic void setGroup(JsonGroup group)
setGroup in interface JsonMemberpublic int memberIndex(JsonMember m)
memberIndex in interface JsonGrouppublic void remove()
JsonAttributeremove in interface JsonAttributeCopyright © 2018. All rights reserved.