Class DynamicTag

All Implemented Interfaces:
DynaTag, Tag

public class DynamicTag extends DynaTagSupport

DynamicTag is a tag that is created from inside a Jelly script as a Jelly template and will invoke a given script, passing in its instantiation attributes as variables and will allow the template to invoke its instance body.

Version:
$Revision: 155420 $
Author:
James Strachan
  • Constructor Details

    • DynamicTag

      public DynamicTag()
    • DynamicTag

      public DynamicTag(Script template)
  • Method Details

    • doTag

      public void doTag(XMLOutput output) throws JellyTagException
      Description copied from interface: Tag
      Evaluates this tag after all the tags properties have been initialized.
      Throws:
      JellyTagException
    • setAttribute

      public void setAttribute(String name, Object value)
      Description copied from interface: DynaTag
      Sets an attribute value of this tag before the tag is invoked
    • getTemplate

      public Script getTemplate()
      The template to be executed by this tag which may well invoke this instances body from inside the template
    • setTemplate

      public void setTemplate(Script template)
    • getAttributes

      public Map getAttributes()