org.apache.commons.jelly.tags.define
Class InvokeTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.define.InvokeTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class InvokeTag
extends org.apache.commons.jelly.TagSupport

The <invoke> tag will invoke a given Script instance. It can be used with the <script> tag which defines scripts as variables that can later be invoked by this <invoke> tag.

Version:
$Revision: 1.5 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
InvokeTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 void setScript(org.apache.commons.jelly.Script script)
          Sets the Script to be invoked by this tag, which typically has been previously defined by the use of the <script> tag.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokeTag

public InvokeTag()
Method Detail

setScript

public void setScript(org.apache.commons.jelly.Script script)
Sets the Script to be invoked by this tag, which typically has been previously defined by the use of the <script> tag.

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Overrides:
doTag in class org.apache.commons.jelly.TagSupport


Copyright © 2002-2004 Apache Software Foundation. All Rights Reserved.