com.werken.blissed.jelly
Class StateTag

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

public class StateTag
extends DefinitionTagSupport
implements DescribedTag

Create a new state.

Author:
bob mcwhirter

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
StateTag()
          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 current in-scope described object.
 State getState()
          Retrieve the State.
 void setName(java.lang.String name)
          Set the state name.
 void setTerminal(boolean terminal)
          Set the flag that indicates if this state is a terminal state.
 
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

StateTag

public StateTag()
Construct.
Method Detail

setName

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

getState

public State getState()
Retrieve the State.
Returns:
The State.

setTerminal

public void setTerminal(boolean terminal)
Set the flag that indicates if this state is a terminal state.
Parameters:
terminal - true to indicate that this state is a terminal state, otherwise false.

getDescribed

public Described getDescribed()
Retrieve the current in-scope described object.
Specified by:
getDescribed in interface DescribedTag
Returns:
The in-scope 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.