Class ChooseTag

java.lang.Object
org.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.core.ChooseTag
All Implemented Interfaces:
Tag

public class ChooseTag extends TagSupport
A tag which conditionally evaluates its body based on some condition
Version:
$Revision: 155420 $
Author:
James Strachan
  • Constructor Details

    • ChooseTag

      public ChooseTag()
  • 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
    • isBlockEvaluated

      protected boolean isBlockEvaluated()
    • setBlockEvaluated

      protected void setBlockEvaluated(boolean blockEvaluated)