Class LicenseCheckerJreJsonObject
java.lang.Object
com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJreJsonValue
com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJreJsonObject
- All Implemented Interfaces:
LicenseCheckerJsonObject,LicenseCheckerJsonValue,Serializable
public class LicenseCheckerJreJsonObject
extends LicenseCheckerJreJsonValue
implements LicenseCheckerJsonObject
Server-side implementation of LicenseCheckerJsonObject.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCoerces underlying value to boolean according to the rules of Javascript coercion.doubleasNumber()Coerces the underlying value to a number according to the rules of Javascript coercion.asString()Coerces the underlying value to a String according to the rules of JavaScript coercion.Return the element (uncoerced) as a LicenseCheckerJsonValue.Return the element (uncoerced) as a LicenseCheckerJsonArray.booleangetBoolean(String key) Return the element (uncoerced) as a boolean.doubleReturn the element (uncoerced) as a number.Return the element (uncoerced) as a LicenseCheckerJsonObject If the type is not an object,, this can result in runtime errors.Return the element (uncoerced) as a String.getType()Returns an enumeration representing the fundamental JSON type.booleanTest whether a given key has present.booleanjsEquals(LicenseCheckerJsonValue value) Equivalent of Javascript '==' operator comparison between two values.String[]keys()All keys of the object.voidSet a given key to the given boolean value.voidSet a given key to the given double value.voidput(String key, LicenseCheckerJsonValue value) Set a given key to the given value.voidSet a given key to the given String value.voidRemove a given key and associated value from the object.voidset(String key, LicenseCheckerJsonValue value) toJson()Returns a serialized JSON string representing this value.toString()voidtraverse(com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJsonVisitor visitor, com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJsonContext ctx) Methods inherited from class com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJreJsonValue
parseJson, toNativeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vaadin.pro.licensechecker.json.LicenseCheckerJsonValue
toNative
-
Constructor Details
-
LicenseCheckerJreJsonObject
-
-
Method Details
-
asBoolean
public boolean asBoolean()Description copied from interface:LicenseCheckerJsonValueCoerces underlying value to boolean according to the rules of Javascript coercion.- Specified by:
asBooleanin interfaceLicenseCheckerJsonValue
-
asNumber
public double asNumber()Description copied from interface:LicenseCheckerJsonValueCoerces the underlying value to a number according to the rules of Javascript coercion.- Specified by:
asNumberin interfaceLicenseCheckerJsonValue
-
asString
Description copied from interface:LicenseCheckerJsonValueCoerces the underlying value to a String according to the rules of JavaScript coercion.- Specified by:
asStringin interfaceLicenseCheckerJsonValue
-
get
Description copied from interface:LicenseCheckerJsonObjectReturn the element (uncoerced) as a LicenseCheckerJsonValue.- Specified by:
getin interfaceLicenseCheckerJsonObject
-
getArray
Description copied from interface:LicenseCheckerJsonObjectReturn the element (uncoerced) as a LicenseCheckerJsonArray. If the type is not an array, this can result in runtime errors.- Specified by:
getArrayin interfaceLicenseCheckerJsonObject
-
getBoolean
Description copied from interface:LicenseCheckerJsonObjectReturn the element (uncoerced) as a boolean. If the type is not a boolean, this can result in runtime errors.- Specified by:
getBooleanin interfaceLicenseCheckerJsonObject
-
getNumber
Description copied from interface:LicenseCheckerJsonObjectReturn the element (uncoerced) as a number. If the type is not a number, this can result in runtime errors.- Specified by:
getNumberin interfaceLicenseCheckerJsonObject
-
getObject
Description copied from interface:LicenseCheckerJsonObjectReturn the element (uncoerced) as a LicenseCheckerJsonObject If the type is not an object,, this can result in runtime errors.- Specified by:
getObjectin interfaceLicenseCheckerJsonObject
-
getObject
- Specified by:
getObjectin classLicenseCheckerJreJsonValue
-
getString
Description copied from interface:LicenseCheckerJsonObjectReturn the element (uncoerced) as a String. If the type is not a String, this can result in runtime errors.- Specified by:
getStringin interfaceLicenseCheckerJsonObject
-
getType
Description copied from interface:LicenseCheckerJsonValueReturns an enumeration representing the fundamental JSON type.- Specified by:
getTypein interfaceLicenseCheckerJsonValue
-
hasKey
Description copied from interface:LicenseCheckerJsonObjectTest whether a given key has present.- Specified by:
hasKeyin interfaceLicenseCheckerJsonObject
-
jsEquals
Description copied from interface:LicenseCheckerJsonValueEquivalent of Javascript '==' operator comparison between two values.- Specified by:
jsEqualsin interfaceLicenseCheckerJsonValue
-
keys
Description copied from interface:LicenseCheckerJsonObjectAll keys of the object.- Specified by:
keysin interfaceLicenseCheckerJsonObject
-
put
Description copied from interface:LicenseCheckerJsonObjectSet a given key to the given value.- Specified by:
putin interfaceLicenseCheckerJsonObject
-
put
Description copied from interface:LicenseCheckerJsonObjectSet a given key to the given String value.- Specified by:
putin interfaceLicenseCheckerJsonObject
-
put
Description copied from interface:LicenseCheckerJsonObjectSet a given key to the given double value.- Specified by:
putin interfaceLicenseCheckerJsonObject
-
put
Description copied from interface:LicenseCheckerJsonObjectSet a given key to the given boolean value.- Specified by:
putin interfaceLicenseCheckerJsonObject
-
remove
Description copied from interface:LicenseCheckerJsonObjectRemove a given key and associated value from the object.- Specified by:
removein interfaceLicenseCheckerJsonObject
-
set
-
toJson
Description copied from interface:LicenseCheckerJsonValueReturns a serialized JSON string representing this value.- Specified by:
toJsonin interfaceLicenseCheckerJsonValue- Returns:
-
toString
-
traverse
public void traverse(com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJsonVisitor visitor, com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJsonContext ctx) - Specified by:
traversein classLicenseCheckerJreJsonValue
-