Class JsValueAdapter
java.lang.Object
org.apache.sling.scripting.sightly.js.impl.rhino.JsValueAdapter
Converts JS objects to Java objects
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JsValueAdapter
-
-
Method Details
-
adapt
Convert a given JS value to a Java object- Parameters:
jsValue
- the original JS value- Returns:
- the Java correspondent
-