org.apache.commons.jelly
Interface Tag

All Known Subinterfaces:
DynaTag
All Known Implementing Classes:
TagSupport

public interface Tag

Tag represents a Jelly custom tag.

Version:
$Revision: 1.8 $
Author:
James Strachan

Method Summary
 void doTag(XMLOutput output)
          Evaluates this tag after all the tags properties have been initialized.
 Script getBody()
           
 JellyContext getContext()
          Gets the context in which the tag will be run
 Tag getParent()
           
 void invokeBody(XMLOutput output)
          A helper method to invoke this tags body
 void setBody(Script body)
          Sets the body of the tag
 void setContext(JellyContext context)
          Sets the context in which the tag will be run
 void setParent(Tag parent)
          Sets the parent of this tag
 

Method Detail

getParent

public Tag getParent()
Returns:
the parent of this tag

setParent

public void setParent(Tag parent)
Sets the parent of this tag

getBody

public Script getBody()
Returns:
the body of the tag

setBody

public void setBody(Script body)
Sets the body of the tag

getContext

public JellyContext getContext()
Gets the context in which the tag will be run

setContext

public void setContext(JellyContext context)
                throws java.lang.Exception
Sets the context in which the tag will be run

doTag

public void doTag(XMLOutput output)
           throws java.lang.Exception
Evaluates this tag after all the tags properties have been initialized.

invokeBody

public void invokeBody(XMLOutput output)
                throws java.lang.Exception
A helper method to invoke this tags body


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