Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.webapps.tag
Class HasMembersTag  view HasMembersTag download HasMembersTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.struts.taglib.logic.ConditionalTagBase
          extended bycom.RuntimeCollective.webapps.tag.HasMembersTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class HasMembersTag
extends org.apache.struts.taglib.logic.ConditionalTagBase

Evalute the nested body content of this tag if the specified value is present on this request, and is an array, map, iterator, enumeration or collection of length>0. This tag takes the following parameters:

Version:
$Id: HasMembersTag.java,v 1.8 2003/09/30 15:13:18 joe Exp $

Field Summary
protected  java.lang.Object collection
          A collection.
 
Fields inherited from class org.apache.struts.taglib.logic.ConditionalTagBase
cookie, header, messages, name, parameter, property, role, scope, user
 
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
HasMembersTag()
           
 
Method Summary
protected  boolean condition()
          Evaluate the condition that is being tested by this particular tag, and return true if the nested body content of this tag should be evaluated, or false if it should be skipped.
protected  boolean condition(boolean desired)
          Evaluate the condition that is being tested by this particular tag, and return true if the nested body content of this tag should be evaluated, or false if it should be skipped.
 java.lang.Object getCollection()
          Get a collection.
 void release()
          Release all allocated resources.
 void setCollection(java.lang.Object collection)
          Set a collection.
 
Methods inherited from class org.apache.struts.taglib.logic.ConditionalTagBase
doEndTag, doStartTag, getCookie, getHeader, getName, getParameter, getProperty, getRole, getScope, getUser, setCookie, setHeader, setName, setParameter, setProperty, setRole, setScope, setUser
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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
 

Field Detail

collection

protected java.lang.Object collection
A collection.

Constructor Detail

HasMembersTag

public HasMembersTag()
Method Detail

getCollection

public java.lang.Object getCollection()
Get a collection.


setCollection

public void setCollection(java.lang.Object collection)
Set a collection.


condition

protected boolean condition()
                     throws javax.servlet.jsp.JspException
Evaluate the condition that is being tested by this particular tag, and return true if the nested body content of this tag should be evaluated, or false if it should be skipped. This method must be implemented by concrete subclasses.


condition

protected boolean condition(boolean desired)
                     throws javax.servlet.jsp.JspException
Evaluate the condition that is being tested by this particular tag, and return true if the nested body content of this tag should be evaluated, or false if it should be skipped. This method must be implemented by concrete subclasses.


release

public void release()
Description copied from class: org.apache.struts.taglib.logic.ConditionalTagBase
Release all allocated resources.