|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scxml.Builtin
public class Builtin
Implementations of builtin functions defined by the SCXML specification. The current version of the specification defines one builtin predicate In()
| Constructor Summary | |
|---|---|
Builtin()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
data(java.util.Map namespaces,
java.lang.Object data,
java.lang.String path)
A variant of the Data() function for Commons SCXML documents, coerced to a Double, a Long or a String, whichever succeeds, in that order. |
static java.lang.Object |
data(java.lang.Object data,
java.lang.String path)
Deprecated. Use data(Map,Object,String) instead |
static org.w3c.dom.Node |
dataNode(java.util.Map namespaces,
java.lang.Object data,
java.lang.String path)
Implements the Data() function for Commons SCXML documents, that can be used to obtain a node from one of the XML data trees. |
static org.w3c.dom.Node |
dataNode(java.lang.Object data,
java.lang.String path)
Deprecated. Use dataNode(Map,Object,String) instead |
static boolean |
isMember(java.util.Set allStates,
java.lang.String state)
Implements the In() predicate for SCXML documents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Builtin()
| Method Detail |
|---|
public static boolean isMember(java.util.Set allStates,
java.lang.String state)
allStates - The Set of State objects to look instate - The State ID to compare with
public static org.w3c.dom.Node dataNode(java.util.Map namespaces,
java.lang.Object data,
java.lang.String path)
namespaces - The current document namespaces map at XPath locationdata - The context Node, though the method accepts an Object
so error is reported by Commons SCXML, rather
than the underlying expression language.path - The XPath expression.
public static java.lang.Object data(java.util.Map namespaces,
java.lang.Object data,
java.lang.String path)
namespaces - The current document namespaces map at XPath locationdata - The context Node, though the method accepts an Object
so error is reported by Commons SCXML, rather
than the underlying expression language.path - The XPath expression.
public static org.w3c.dom.Node dataNode(java.lang.Object data,
java.lang.String path)
dataNode(Map,Object,String) instead
data - The context Node, though the method accepts an Object
so error is reported by Commons SCXML, rather
than the underlying expression language.path - The XPath expression.
public static java.lang.Object data(java.lang.Object data,
java.lang.String path)
data(Map,Object,String) instead
data - The context Node, though the method accepts an Object
so error is reported by Commons SCXML, rather
than the underlying expression language.path - The XPath expression.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||