org.apache.commons.scxml.model
Class Data

java.lang.Object
  extended byorg.apache.commons.scxml.model.Data

public class Data
extends Object

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 getName()
          Get the name.
 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 setName(String name)
          Set the name.
 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

Data

public Data()
Constructor.

Method Detail

getName

public final String getName()
Get the name.

Returns:
String The name.

setName

public final void setName(String name)
Set the name.

Parameters:
name - The name.

getSrc

public final String getSrc()
Get the URL where the XML data tree resides.

Returns:
String The URL.

setSrc

public final void setSrc(String src)
Set the URL where the XML data tree resides.

Parameters:
src - The source URL.

getExpr

public final String getExpr()
Get the expression that evaluates to the value of this data instance.

Returns:
String The expression.

setExpr

public final void setExpr(String expr)
Set the expression that evaluates to the value of this data instance.

Parameters:
expr - The expression.

getNode

public final Node getNode()
Get the XML data tree.

Returns:
Node The XML data tree, parsed as a Node.

setNode

public final void setNode(Node node)
Set the XML data tree.

Parameters:
node - The XML data tree, parsed as a Node.


Copyright © 2005-2006 The Apache Software Foundation. All Rights Reserved.