public class DataMapper
extends java.lang.Object
| Constructor and Description |
|---|
DataMapper()
Deprecated.
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertJSObjectToJava(FESI.jslib.JSObject jsObj)
Deprecated.
Converts a FESI script object into a matching JAVA object
|
java.lang.Object |
javaToScriptWrapper(java.lang.Object javaObj)
Deprecated.
Returns the wrapper object for a Java object to be returned to FESI Script
{{TODO}}The implementation does not take advantage of the JSGlobalObjectFactory
to locate the corresponding JSxxxFactory object, it will require some refactory work
to do so.
|
java.lang.Object |
scriptToJava(java.lang.Object scriptObj)
Deprecated.
Converts a FESI script object into a matching JAVA object
If global factory exists, try to convert using it;
|
public java.lang.Object scriptToJava(java.lang.Object scriptObj)
throws ScriptEvaluatorException
scriptObj - FESI script objectScriptEvaluatorException - when conversion wasn't successfulpublic java.lang.Object javaToScriptWrapper(java.lang.Object javaObj)
javaObj - A Java Objectpublic java.lang.Object convertJSObjectToJava(FESI.jslib.JSObject jsObj)
throws ScriptEvaluatorException
jsObj - FESI script objectScriptEvaluatorException - when conversion wasn't successful