com.werken.blissed.jelly
Class TransitionTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--com.werken.blissed.jelly.BlissedTagSupport
              |
              +--com.werken.blissed.jelly.DefinitionTagSupport
                    |
                    +--com.werken.blissed.jelly.TransitionTag
All Implemented Interfaces:
DescribedTag, org.apache.commons.jelly.Tag

public class TransitionTag
extends DefinitionTagSupport
implements DescribedTag

Create a transition.

Author:
bob mcwhirter

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
TransitionTag()
          Construct.
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Evaluates this tag after all the tags properties have been initialized.
 Described getDescribed()
          Retrieve the described object.
 Transition getTransition()
          Retrieve the transition.
 void setFrom(java.lang.String from)
          Set the origin state name.
 void setTo(java.lang.String to)
          Set the destination state name.
 
Methods inherited from class com.werken.blissed.jelly.DefinitionTagSupport
getCurrentDescribed, getCurrentProcess, getCurrentState
 
Methods inherited from class com.werken.blissed.jelly.BlissedTagSupport
checkObjectAttribute, checkStringAttribute
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitionTag

public TransitionTag()
Construct.
Method Detail

setFrom

public void setFrom(java.lang.String from)
Set the origin state name.
Parameters:
from - The origin state name.

setTo

public void setTo(java.lang.String to)
Set the destination state name.
Parameters:
to - The destination state name.

getTransition

public Transition getTransition()
Retrieve the transition.
Returns:
The transition.

getDescribed

public Described getDescribed()
Retrieve the described object.
Specified by:
getDescribed in interface DescribedTag
Returns:
The described object.

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws java.lang.Exception
Evaluates this tag after all the tags properties have been initialized.
Parameters:
output - The output sink.
Throws:
java.lang.Exception - if an error occurs.


Copyright © 2002-2002 The Werken Company. All Rights Reserved.