org.apache.taglibs.dbtags.resultset
Class WasNotNullTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.taglibs.dbtags.resultset.WasNullTag
          extended byorg.apache.taglibs.dbtags.resultset.WasNotNullTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class WasNotNullTag
extends WasNullTag

Executes its body if the last getColumn tag did not receive a null from the database. You must be inside a resultset tag and there must be a previous getColumn tag, or an error will be generated.

JSP Tag Lib Descriptor

 <name>wasNotNull</name>
 <tagclass>org.apache.taglibs.dbtags.resultset.WasNotNullTag</tagclass>
 <bodycontent>JSP</bodycontent>
 <info>Executes its body if the last getColumn tag 
 did not receive a null value from the database.  You 
 must be inside a resultset tag and there must
 be a previous getColumn tag, or an error will be 
 generated.</info>
 

Author:
Morgan Delagrange
See Also:
WasNullTag, Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
WasNotNullTag()
          Constructor instructs the superclass to only execute the body if the last getColumn returned null.
 
Methods inherited from class org.apache.taglibs.dbtags.resultset.WasNullTag
doStartTag, release, setValue
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, 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

WasNotNullTag

public WasNotNullTag()
Constructor instructs the superclass to only execute the body if the last getColumn returned null.



Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.