Resource.ChangeListenerTypeRESPONSE_TIMEOUT, ROOT_RESOURCE_NAME| Constructor and Description |
|---|
StringResource(String name,
String value) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
toJsonObject()
Returns the value in Json Format
|
int |
update(com.google.gson.JsonElement json)
Updates the value of this resource with the given Json value
|
int |
update(com.google.gson.JsonElement json,
boolean fireEvent)
Updates the value of this resource with the given Json value
|
add, addPropertyChangeListener, addPropertyChangeListener, fireEvent, fireEvent, getCanonicalName, getChild, getChildren, getParent, getRC, getResourceName, getResponseRequired, getValue, notifyExternalListeners, remove, remove, removePropertyChangeListener, setParent, setRC, setValue, setValue, waitForResponsepublic com.google.gson.JsonElement toJsonObject()
toJsonObject in class Resource<String>public int update(com.google.gson.JsonElement json)
Copyright © 2019. All rights reserved.