com.werken.blissed.jelly
Class ProcessTag

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

public class ProcessTag
extends DefinitionTagSupport
implements DescribedTag

Create a new process.

Author:
bob mcwhirter

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ProcessTag()
          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.
 java.lang.String getName()
          Retrieve the process name.
 Process getProcess()
          Retrieve the current in-scope process.
 java.lang.String getStart()
          Retrieve the name of the first state of the process.
 java.lang.String getVar()
          Retrieve the variable name in which to store the Activity.
 void setName(java.lang.String name)
          Set the process name.
 void setStart(java.lang.String start)
          Set the first state of the process.
 void setVar(java.lang.String var)
          Set the variable name in which to store the Activity.
 
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

ProcessTag

public ProcessTag()
Construct.
Method Detail

setName

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

getName

public java.lang.String getName()
Retrieve the process name.
Returns:
The name.

setStart

public void setStart(java.lang.String start)
Set the first state of the process.
Parameters:
start - The name of the start state.

getStart

public java.lang.String getStart()
Retrieve the name of the first state of the process.
Returns:
The name of the start state.

setVar

public void setVar(java.lang.String var)
Set the variable name in which to store the Activity.
Parameters:
var - The variable name.

getVar

public java.lang.String getVar()
Retrieve the variable name in which to store the Activity.
Returns:
The variable name.

getProcess

public Process getProcess()
Retrieve the current in-scope process.
Returns:
The current in-scope process or null.

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.