BEA Systems, Inc.

com.beasys.commerce.axiom.tags
Class IsNullTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.beasys.commerce.axiom.tags.IsNullTag

public class IsNullTag
extends javax.servlet.jsp.tagext.TagSupport

Tag extension to evaluate if an object is null. If it is, evaluate the tag body.

See Also:
Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
IsNullTag()
           
 
Method Summary
 int doEndTag()
          Called when the end of the tag is reached
 int doStartTag()
          Called when the tag starts.
 java.lang.Object getItem()
          Get the value of item.
 void setItem(java.lang.Object theItem)
          Set the value of item.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsNullTag

public IsNullTag()
Method Detail

setItem

public void setItem(java.lang.Object theItem)
Set the value of item.
Parameters:
theItem - Value to assign to item.

getItem

public java.lang.Object getItem()
Get the value of item.
Returns:
Value of item.

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Called when the tag starts.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Called when the end of the tag is reached
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved