|
|||||||||
| Home >> All >> org >> apache >> taglibs >> rdc >> scxml >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.taglibs.rdc.scxml.model
Class TransitionTarget

java.lang.Objectorg.apache.taglibs.rdc.scxml.model.TransitionTarget
- All Implemented Interfaces:
- org.apache.taglibs.rdc.scxml.Observable
- public abstract class TransitionTarget
- extends java.lang.Object
- implements org.apache.taglibs.rdc.scxml.Observable
- extends java.lang.Object
An abstract base class for elements in SCXML that can serve as a <target> for a <transition>, such as State or Parallel.
| Field Summary | |
private java.lang.String |
id
Identifier for this transition target. |
private org.apache.taglibs.rdc.scxml.NotificationRegistry |
notifReg
The notification registry |
private OnEntry |
onEntry
Optional property holding executable content to be run upon entering this transition target. |
private OnExit |
onExit
Optional property holding executable content to be run upon exiting this transition target. |
private TransitionTarget |
parent
The parent of this transition target (may be null, if the parent is the SCXML document root) |
| Constructor Summary | |
TransitionTarget()
Constructor |
|
| Method Summary | |
void |
addListener(org.apache.taglibs.rdc.scxml.SCXMLListener lst)
Register a listener to this document root |
java.lang.String |
getId()
Get the identifier for this transition target (may be null). |
org.apache.taglibs.rdc.scxml.NotificationRegistry |
getNotificationRegistry()
Get the notification registry. |
OnEntry |
getOnEntry()
Get the onentry property. |
OnExit |
getOnExit()
Get the onexit property. |
TransitionTarget |
getParent()
Get the parent TransitionTarget |
State |
getParentState()
Get the parent State |
void |
removeListener(org.apache.taglibs.rdc.scxml.SCXMLListener lst)
Deregister a listener from this document root |
void |
setId(java.lang.String id)
Set the identifier for this transition target |
void |
setNotificationRegistry(org.apache.taglibs.rdc.scxml.NotificationRegistry reg)
Supply this TransitionTarget object a handle to the notification registry. |
void |
setOnEntry(OnEntry onentry)
Set the onentry property. |
void |
setOnExit(OnExit onexit)
Set the onexit property. |
void |
setParent(TransitionTarget parent)
Set the parent TransitionTarget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
id
private java.lang.String id
- Identifier for this transition target. Other parts of the SCXML
document may refer to this <state> using this ID.
onEntry
private OnEntry onEntry
- Optional property holding executable content to be run upon
entering this transition target.
onExit
private OnExit onExit
- Optional property holding executable content to be run upon
exiting this transition target.
parent
private TransitionTarget parent
- The parent of this transition target (may be null, if the parent
is the SCXML document root)
notifReg
private org.apache.taglibs.rdc.scxml.NotificationRegistry notifReg
- The notification registry
| Constructor Detail |
TransitionTarget
public TransitionTarget()
- Constructor
| Method Detail |
addListener
public void addListener(org.apache.taglibs.rdc.scxml.SCXMLListener lst)
- Register a listener to this document root
- Specified by:
addListenerin interfaceorg.apache.taglibs.rdc.scxml.Observable
removeListener
public void removeListener(org.apache.taglibs.rdc.scxml.SCXMLListener lst)
- Deregister a listener from this document root
- Specified by:
removeListenerin interfaceorg.apache.taglibs.rdc.scxml.Observable
setNotificationRegistry
public void setNotificationRegistry(org.apache.taglibs.rdc.scxml.NotificationRegistry reg)
- Supply this TransitionTarget object a handle to the notification
registry. Called by the Digester after instantiation.
getNotificationRegistry
public org.apache.taglibs.rdc.scxml.NotificationRegistry getNotificationRegistry()
- Get the notification registry.
getId
public java.lang.String getId()
- Get the identifier for this transition target (may be null).
setId
public void setId(java.lang.String id)
- Set the identifier for this transition target
getOnEntry
public OnEntry getOnEntry()
- Get the onentry property.
setOnEntry
public void setOnEntry(OnEntry onentry)
- Set the onentry property.
getOnExit
public OnExit getOnExit()
- Get the onexit property.
setOnExit
public void setOnExit(OnExit onexit)
- Set the onexit property.
getParent
public TransitionTarget getParent()
- Get the parent TransitionTarget
setParent
public void setParent(TransitionTarget parent)
- Set the parent TransitionTarget
getParentState
public State getParentState()
- Get the parent State
|
|||||||||
| Home >> All >> org >> apache >> taglibs >> rdc >> scxml >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.taglibs.rdc.scxml.model.TransitionTarget