Class LicenseCheckerJreJsonNull
java.lang.Object
com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJreJsonValue
com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJreJsonNull
- All Implemented Interfaces:
LicenseCheckerJsonNull,LicenseCheckerJsonValue,Serializable
public class LicenseCheckerJreJsonNull
extends LicenseCheckerJreJsonValue
implements LicenseCheckerJsonNull
Server-side implementation of JsonObject.
- See Also:
-
Field Summary
Fields -
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.getType()Returns an enumeration representing the fundamental JSON type.booleanjsEquals(LicenseCheckerJsonValue value) Equivalent of Javascript '==' operator comparison between two values.toJson()Returns a serialized JSON string representing this value.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, toString, wait, wait, waitMethods inherited from interface com.vaadin.pro.licensechecker.json.LicenseCheckerJsonValue
toNative
-
Field Details
-
NULL_INSTANCE
-
-
Constructor Details
-
LicenseCheckerJreJsonNull
public LicenseCheckerJreJsonNull()
-
-
Method Details
-
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
-
asBoolean
public boolean asBoolean()Description copied from interface:LicenseCheckerJsonValueCoerces underlying value to boolean according to the rules of Javascript coercion.- Specified by:
asBooleanin interfaceLicenseCheckerJsonValue
-
asString
Description copied from interface:LicenseCheckerJsonValueCoerces the underlying value to a String according to the rules of JavaScript coercion.- Specified by:
asStringin interfaceLicenseCheckerJsonValue
-
getObject
- Specified by:
getObjectin classLicenseCheckerJreJsonValue
-
getType
Description copied from interface:LicenseCheckerJsonValueReturns an enumeration representing the fundamental JSON type.- Specified by:
getTypein interfaceLicenseCheckerJsonValue
-
jsEquals
Description copied from interface:LicenseCheckerJsonValueEquivalent of Javascript '==' operator comparison between two values.- Specified by:
jsEqualsin interfaceLicenseCheckerJsonValue
-
traverse
public void traverse(com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJsonVisitor visitor, com.vaadin.pro.licensechecker.json.impl.LicenseCheckerJsonContext ctx) - Specified by:
traversein classLicenseCheckerJreJsonValue
-
toJson
Description copied from interface:LicenseCheckerJsonValueReturns a serialized JSON string representing this value.- Specified by:
toJsonin interfaceLicenseCheckerJsonValue- Returns:
-