|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.scxml.model.Data
public class Data
The class in this SCXML object model that corresponds to the SCXML <data> child element of the <datamodel> element.
Constructor Summary | |
---|---|
Data()
Constructor. |
Method Summary | |
---|---|
String |
getExpr()
Get the expression that evaluates to the value of this data instance. |
String |
getId()
Get the id. |
String |
getName()
Deprecated. Use getId() instead. |
Map |
getNamespaces()
Get the XML namespaces at this action node in the SCXML document. |
Node |
getNode()
Get the XML data tree. |
String |
getSrc()
Get the URL where the XML data tree resides. |
void |
setExpr(String expr)
Set the expression that evaluates to the value of this data instance. |
void |
setId(String id)
Set the id. |
void |
setName(String name)
Deprecated. Use setId(String) instead. |
void |
setNamespaces(Map namespaces)
Set the XML namespaces at this action node in the SCXML document. |
void |
setNode(Node node)
Set the XML data tree. |
void |
setSrc(String src)
Set the URL where the XML data tree resides. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Data()
Method Detail |
---|
public final String getName()
getId()
instead.
public final void setName(String name)
setId(String)
instead.
name
- The name.public final String getId()
public final void setId(String id)
id
- The identifier.public final String getSrc()
public final void setSrc(String src)
src
- The source URL.public final String getExpr()
public final void setExpr(String expr)
expr
- The expression.public final Node getNode()
Node
.public final void setNode(Node node)
node
- The XML data tree, parsed as a Node
.public final Map getNamespaces()
getNamespaces
in interface NamespacePrefixesHolder
public final void setNamespaces(Map namespaces)
setNamespaces
in interface NamespacePrefixesHolder
namespaces
- The document namespaces.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |