org.apache.commons.jelly.tags.core
Class ChooseTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.core.ChooseTag
All Implemented Interfaces:
CompilableTag, Tag

public class ChooseTag
extends TagSupport
implements CompilableTag

A tag which conditionally evaluates its body based on some condition

Version:
$Revision: 1.5 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ChooseTag()
           
 
Method Summary
 void compile()
          Called by the parser to allow a more tag to create a more efficient format of the tag
 void doTag(XMLOutput output)
          Evaluates this tag after all the tags properties have been initialized.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, getBody, 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

ChooseTag

public ChooseTag()
Method Detail

compile

public void compile()
             throws java.lang.Exception
Description copied from interface: CompilableTag
Called by the parser to allow a more tag to create a more efficient format of the tag
Specified by:
compile in interface CompilableTag

doTag

public void doTag(XMLOutput output)
           throws java.lang.Exception
Description copied from interface: Tag
Evaluates this tag after all the tags properties have been initialized.


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