List of usage examples for org.apache.commons.scxml.env.jsp ELContext ELContext
public ELContext()
From source file:org.finra.datagenerator.engine.negscxml.NegSCXMLEngine.java
/** * Constructor/* w ww .j a v a 2 s. c o m*/ * * @param negative the required number of negative variable assignments */ public NegSCXMLEngine(final int negative) { super(); ELEvaluator elEvaluator = new ELEvaluator(); ELContext context = new ELContext(); this.setEvaluator(elEvaluator); this.setRootContext(context); this.negative = negative; }
From source file:org.finra.datagenerator.engine.negscxml.NegSCXMLFrontier.java
/** * Constructor/*from www . j a va 2s .c om*/ * * @param possibleState the root node of the model and partial variable assignment to start a dfs from * @param negative the required number of negative variable assignments * @param model the model text * @param transformations DataTransformers used in the model */ public NegSCXMLFrontier(final NegPossibleState possibleState, final SCXML model, final int negative, final Map<String, DataTransformer> transformations) { root = possibleState; this.setStateMachine(model); this.setTransformations(transformations); ELEvaluator elEvaluator = new ELEvaluator(); ELContext context = new ELContext(); this.setEvaluator(elEvaluator); this.setRootContext(context); this.negative = negative; }
From source file:org.finra.datagenerator.engine.scxml.SCXMLEngine.java
/** * Constructor//ww w . j a v a2 s . c o m */ public SCXMLEngine() { super(); tagExtensionList = new LinkedList<>(); tagExtensionList.add(new SetAssignExtension()); tagExtensionList.add(new SingleValueAssignExtension()); tagExtensionList.add(new FileExtension()); tagExtensionList.add(new RangeExtension()); ELEvaluator elEvaluator = new ELEvaluator(); ELContext context = new ELContext(); this.setEvaluator(elEvaluator); this.setRootContext(context); }
From source file:org.finra.datagenerator.engine.scxml.SCXMLFrontier.java
/** * Constructor//ww w . j a v a2s. c o m * * @param possibleState the root node of the model and partial variable assignment to start a dfs from * @param model the model text * @param tagExtensionList custom tags used in this model */ public SCXMLFrontier(final PossibleState possibleState, final SCXML model, final List<CustomTagExtension> tagExtensionList) { root = possibleState; this.tagExtensionList = tagExtensionList; this.setStateMachine(model); ELEvaluator elEvaluator = new ELEvaluator(); ELContext context = new ELContext(); this.setEvaluator(elEvaluator); this.setRootContext(context); }