org.apache.taglibs.rdc.scxml.model
Class Path
java.lang.Object
org.apache.taglibs.rdc.scxml.model.Path
public class Path
- extends java.lang.Object
A helper class for this SCXML implementation that represents the
location of an entity in the SCXML document.
- Author:
- Jaroslav Gergic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isCrossRegion
public boolean isCrossRegion()
- Returns:
- true when the path crosses a region border(s)
- See Also:
State.isRegion()
getRegionsExited
public java.util.List getRegionsExited()
- Returns:
- a list of exited regions sorted bottom-up; no order defined for
siblings
getRegionsEntered
public java.util.List getRegionsEntered()
- Returns:
- a list of entered regions sorted top-down; no order defined for
siblings
getScope
public State getScope()
- Returns:
- scope of the transition path, null means global transition (SCXML
document level) Scope is the least state which is not being
exited nor entered by the transition.
getUpwardSegment
public java.util.List getUpwardSegment()
- Returns:
- upward segment of the path up to the scope
getDownwardSegment
public java.util.List getDownwardSegment()
- Returns:
- downward segment from the scope to the target
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.