FileDocCategorySizeDatePackage
IfTag.javaAPI DocGlassfish v2 API3514Sat May 05 19:17:54 BST 2007org.apache.taglibs.standard.tag.common.xml

IfTag

public class IfTag extends javax.servlet.jsp.jstl.core.ConditionalTagSupport

Tag handler for <if> in JSTL's XML library.

author
Shawn Bayern

Fields Summary
private String
select
Constructors Summary
public IfTag()

        super();
        init();
    
Methods Summary
protected booleancondition()

        XPathUtil xu = new XPathUtil(pageContext);
        return (xu.booleanValueOf(XPathUtil.getContext(this), select));
    
private voidinit()

        select = null;
    
public voidrelease()

        super.release();
        init();
    
public voidsetSelect(java.lang.String select)

        this.select = select;