public class JSFunctions extends Object implements Serializable
| Constructor and Description | 
|---|
JSFunctions(Context ctx)
Creates a new instance, wraps the context. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
Data(String expression)
Provides the Commons SCXML Data() predicate extension for SCXML documents. 
 | 
boolean | 
In(String state)
Provides the SCXML standard In() predicate for SCXML documents. 
 | 
Object | 
Location(String expression)
Provides the Commons SCXML Location() predicate extension for SCXML documents. 
 | 
public JSFunctions(Context ctx)
ctx - the context in usepublic boolean In(String state)
state - The State ID to compare withpublic Object Data(String expression) throws SCXMLExpressionException
expression - the XPath expressionSCXMLExpressionExceptionpublic Object Location(String expression) throws SCXMLExpressionException
expression - the XPath expressionSCXMLExpressionExceptionCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.