public class Data extends Object implements NamespacePrefixesHolder, Serializable
Constructor and Description |
---|
Data()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getExpr()
Get the expression that evaluates to the value of this data instance.
|
String |
getId()
Get the id.
|
Map<String,String> |
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 |
setNamespaces(Map<String,String> 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.
|
public Data()
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<String,String> getNamespaces()
getNamespaces
in interface NamespacePrefixesHolder
public final void setNamespaces(Map<String,String> namespaces)
setNamespaces
in interface NamespacePrefixesHolder
namespaces
- The document namespaces.Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.