summaryrefslogtreecommitdiffstats
path: root/test/bindings/java/org/uscxml/apache/commons/scxml2/JexlEvaluator.java
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-08-22 14:53:14 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-08-22 14:53:14 (GMT)
commite5782b214d839fe5d8b2f527ae331a246c6e012f (patch)
tree246e5bf1143b72267791e682b1ac37991d26adbe /test/bindings/java/org/uscxml/apache/commons/scxml2/JexlEvaluator.java
parentdb8418fb9f733ca0147cc225ce0988d7866f15cd (diff)
downloaduscxml-e5782b214d839fe5d8b2f527ae331a246c6e012f.zip
uscxml-e5782b214d839fe5d8b2f527ae331a246c6e012f.tar.gz
uscxml-e5782b214d839fe5d8b2f527ae331a246c6e012f.tar.bz2
Progress on the apache-commons wrapper
Diffstat (limited to 'test/bindings/java/org/uscxml/apache/commons/scxml2/JexlEvaluator.java')
-rw-r--r--test/bindings/java/org/uscxml/apache/commons/scxml2/JexlEvaluator.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/bindings/java/org/uscxml/apache/commons/scxml2/JexlEvaluator.java b/test/bindings/java/org/uscxml/apache/commons/scxml2/JexlEvaluator.java
new file mode 100644
index 0000000..e50a259
--- /dev/null
+++ b/test/bindings/java/org/uscxml/apache/commons/scxml2/JexlEvaluator.java
@@ -0,0 +1,19 @@
+package org.uscxml.apache.commons.scxml2;
+
+import org.uscxml.Factory;
+import org.uscxml.dm.jexl.JEXLDataModel;
+
+public class JexlEvaluator extends Evaluator {
+
+ public JexlEvaluator() {
+
+ }
+
+ @Override
+ public Context newContext(Object object) {
+ // TODO Auto-generated method stub
+ Context ctx = new Context();
+ ctx.dm = new JEXLDataModel();
+ return ctx;
+ }
+}