Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.scxml.model
Class History

    java.lang.Object
      org.apache.commons.scxml.model.TransitionTarget
          org.apache.commons.scxml.model.History

public class History
extends TransitionTarget

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

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
`getDatamodel, getId, getOnEntry, getOnExit, getParent, getParentState, 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"

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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