org.apache.commons.scxml.env
Class SimpleSCXMLListener

java.lang.Object
  extended by org.apache.commons.scxml.env.SimpleSCXMLListener
All Implemented Interfaces:
Serializable, SCXMLListener

public class SimpleSCXMLListener
extends Object
implements SCXMLListener, Serializable

Simple SCXML Listener that logs execution.

See Also:
Serialized Form

Constructor Summary
SimpleSCXMLListener()
           
 
Method Summary
 void onEntry(TransitionTarget state)
          Handle the entry into a TransitionTarget.
 void onExit(TransitionTarget state)
          Handle the exit out of a TransitionTarget.
 void onTransition(TransitionTarget from, TransitionTarget to, Transition transition)
          Handle the transition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSCXMLListener

public SimpleSCXMLListener()
Method Detail

onEntry

public void onEntry(TransitionTarget state)
Description copied from interface: SCXMLListener
Handle the entry into a TransitionTarget.

Specified by:
onEntry in interface SCXMLListener
Parameters:
state - The TransitionTarget entered
See Also:
SCXMLListener.onEntry(TransitionTarget)

onExit

public void onExit(TransitionTarget state)
Description copied from interface: SCXMLListener
Handle the exit out of a TransitionTarget.

Specified by:
onExit in interface SCXMLListener
Parameters:
state - The TransitionTarget exited
See Also:
SCXMLListener.onExit(TransitionTarget)

onTransition

public void onTransition(TransitionTarget from,
                         TransitionTarget to,
                         Transition transition)
Description copied from interface: SCXMLListener
Handle the transition.

Specified by:
onTransition in interface SCXMLListener
Parameters:
from - The source TransitionTarget
to - The destination TransitionTarget
transition - The Transition taken
See Also:
SCXMLListener.onTransition(TransitionTarget,TransitionTarget,Transition)


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