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.env
Class LogUtils

    java.lang.Object
      org.apache.commons.scxml.env.LogUtils

public final class LogUtils
extends Object

Helper methods for Commons SCXML logging.

Method Summary
`static String` | `getTTPath(TransitionTarget tt)` Write out this TransitionTarget location in a XPath style format.
`static String` | `transToString(TransitionTarget from, TransitionTarget to, Transition transition)` Create a human readable log view of this transition.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### transToString

    public static String transToString(TransitionTarget from,
                                       TransitionTarget to,
                                       Transition transition)

  Create a human readable log view of this transition.

  Parameters:
    `from` - The source TransitionTarget
    `to` - The destination TransitionTarget
    `transition` - The Transition that is taken
  Returns:
    String The human readable log entry

### getTTPath

    public static String getTTPath(TransitionTarget tt)

  Write out this TransitionTarget location in a XPath style format.

  Parameters:
    `tt` - The TransitionTarget whose "path" is to needed
  Returns:
    String The XPath style location of the TransitionTarget within the SCXML document

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-2008 The Apache Software Foundation. All Rights Reserved.