org.apache.commons.scxml.model
Class History

java.lang.Object
  extended by org.apache.commons.scxml.model.TransitionTarget
      extended by org.apache.commons.scxml.model.History
All Implemented Interfaces:
Serializable

public class History
extends TransitionTarget

The class in this SCXML object model that corresponds to the <history> SCXML pseudo state element.

See Also:
Serialized Form

Constructor Summary
History()
          Default no-args constructor for XML Digester.
 
Method Summary
 Transition getTransition()
          Get the transition.
 boolean isDeep()
          Is this history "deep" (as against "shallow").
 void setTransition(Transition transition)
          Set the transition.
 void setType(String type)
          This method is invoked by XML digester when parsing SCXML markup.
 
Methods inherited from class org.apache.commons.scxml.model.TransitionTarget
addHistory, addTransition, getDatamodel, getHistory, getId, getOnEntry, getOnExit, getParent, getParentState, getTransitions, getTransitionsList, getTransitionsList, hasHistory, setDatamodel, setId, setOnEntry, setOnExit, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

History

public History()
Default no-args constructor for XML Digester.

Method Detail

getTransition

public final Transition getTransition()
Get the transition.

Returns:
Returns the transition.

setTransition

public final void setTransition(Transition transition)
Set the transition.

Parameters:
transition - The transition to set.

isDeep

public final boolean isDeep()
Is this history "deep" (as against "shallow").

Returns:
Returns whether this is a "deep" history

setType

public final void setType(String type)
This method is invoked by XML digester when parsing SCXML markup.

Parameters:
type - The history type, which can be "shallow" or "deep"


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