1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
5
<!-- Generated by javadoc on Fri Aug 22 03:44:04 EDT 2003 -->
7
EmptyTag (Apache Struts API Documentation)
9
<META NAME="keywords" CONTENT="org.apache.struts.taglib.logic.EmptyTag,EmptyTag class">
10
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
15
parent.document.title="EmptyTag (Apache Struts API Documentation)";
18
<BODY BGCOLOR="white" onload="asd();">
20
<!-- ========== START OF NAVBAR ========== -->
21
<A NAME="navbar_top"><!-- --></A>
22
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
24
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
25
<A NAME="navbar_top_firstrow"><!-- --></A>
26
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
27
<TR ALIGN="center" VALIGN="top">
28
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
29
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
30
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
31
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EmptyTag.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
32
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
33
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
34
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
35
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
39
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
45
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
46
<A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html"><B>PREV CLASS</B></A>
47
<A HREF="../../../../../org/apache/struts/taglib/logic/EqualTag.html"><B>NEXT CLASS</B></A></FONT></TD>
48
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
50
<A HREF="EmptyTag.html" TARGET="_top"><B>NO FRAMES</B></A>
55
document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
60
<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
65
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
66
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.struts.taglib.logic.ConditionalTagBase">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
67
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
68
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
71
<!-- =========== END OF NAVBAR =========== -->
74
<!-- ======== START OF CLASS DATA ======== -->
77
org.apache.struts.taglib.logic</FONT>
83
+--javax.servlet.jsp.tagext.TagSupport
85
+--<A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html">org.apache.struts.taglib.logic.ConditionalTagBase</A>
87
+--<B>org.apache.struts.taglib.logic.EmptyTag</B>
90
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, javax.servlet.jsp.tagext.Tag</DD>
93
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/struts/taglib/nested/logic/NestedEmptyTag.html">NestedEmptyTag</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/NotEmptyTag.html">NotEmptyTag</A></DD>
97
<DT>public class <B>EmptyTag</B><DT>extends <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html">ConditionalTagBase</A></DL>
100
Evalute the nested body content of this tag if the specified value
101
is empty for this request.
106
<DT><B>Since:</B></DT>
108
<DT><B>Version:</B></DT>
109
<DD>$Revision: 1.1 $ $Date: 2003/08/26 12:57:40 $</DD>
110
<DT><B>Author:</B></DT>
111
<DD>Martin Cooper, David Graham</DD>
112
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html" TARGET="org.apache.struts.taglib.logic.EmptyTag">Serialized Form</A></DL>
116
<!-- ======== NESTED CLASS SUMMARY ======== -->
119
<!-- =========== FIELD SUMMARY =========== -->
121
<A NAME="field_summary"><!-- --></A>
122
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
123
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124
<TD COLSPAN=2><FONT SIZE="+2">
125
<B>Field Summary</B></FONT></TD>
128
<A NAME="fields_inherited_from_class_org.apache.struts.taglib.logic.ConditionalTagBase"><!-- --></A>
129
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
130
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
131
<TD><B>Fields inherited from class org.apache.struts.taglib.logic.<A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html">ConditionalTagBase</A></B></TD>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD><CODE><A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#cookie">cookie</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#header">header</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#messages">messages</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#name">name</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#parameter">parameter</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#property">property</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#role">role</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#scope">scope</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#user">user</A></CODE></TD>
137
<A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.TagSupport"><!-- --></A>
138
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
139
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
140
<TD><B>Fields inherited from class javax.servlet.jsp.tagext.TagSupport</B></TD>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD><CODE>id, pageContext</CODE></TD>
146
<A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.Tag"><!-- --></A>
147
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
148
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
149
<TD><B>Fields inherited from interface javax.servlet.jsp.tagext.Tag</B></TD>
151
<TR BGCOLOR="white" CLASS="TableRowColor">
152
<TD><CODE>EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE</CODE></TD>
156
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
158
<A NAME="constructor_summary"><!-- --></A>
159
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
160
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
161
<TD COLSPAN=2><FONT SIZE="+2">
162
<B>Constructor Summary</B></FONT></TD>
164
<TR BGCOLOR="white" CLASS="TableRowColor">
165
<TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/logic/EmptyTag.html#EmptyTag()">EmptyTag</A></B>()</CODE>
168
</TD>
172
<!-- ========== METHOD SUMMARY =========== -->
174
<A NAME="method_summary"><!-- --></A>
175
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
176
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177
<TD COLSPAN=2><FONT SIZE="+2">
178
<B>Method Summary</B></FONT></TD>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
<CODE>protected boolean</CODE></FONT></TD>
183
<TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/logic/EmptyTag.html#condition()">condition</A></B>()</CODE>
186
Evaluate the condition that is being tested by this particular tag,
187
and return <code>true</code> if the nested body content of this tag
188
should be evaluated, or <code>false</code> if it should be skipped.</TD>
190
<TR BGCOLOR="white" CLASS="TableRowColor">
191
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192
<CODE>protected boolean</CODE></FONT></TD>
193
<TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/logic/EmptyTag.html#condition(boolean)">condition</A></B>(boolean desired)</CODE>
196
Evaluate the condition that is being tested by this particular tag,
197
and return <code>true</code> if the nested body content of this tag
198
should be evaluated, or <code>false</code> if it should be skipped.</TD>
201
<A NAME="methods_inherited_from_class_org.apache.struts.taglib.logic.ConditionalTagBase"><!-- --></A>
202
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
203
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
204
<TD><B>Methods inherited from class org.apache.struts.taglib.logic.<A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html">ConditionalTagBase</A></B></TD>
206
<TR BGCOLOR="white" CLASS="TableRowColor">
207
<TD><CODE><A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#doEndTag()">doEndTag</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#doStartTag()">doStartTag</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#getCookie()">getCookie</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#getHeader()">getHeader</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#getName()">getName</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#getParameter()">getParameter</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#getProperty()">getProperty</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#getRole()">getRole</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#getScope()">getScope</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#getUser()">getUser</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#release()">release</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#setCookie(java.lang.String)">setCookie</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#setHeader(java.lang.String)">setHeader</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#setParameter(java.lang.String)">setParameter</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#setProperty(java.lang.String)">setProperty</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#setRole(java.lang.String)">setRole</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#setScope(java.lang.String)">setScope</A>, <A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#setUser(java.lang.String)">setUser</A></CODE></TD>
210
<A NAME="methods_inherited_from_class_javax.servlet.jsp.tagext.TagSupport"><!-- --></A>
211
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
212
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
213
<TD><B>Methods inherited from class javax.servlet.jsp.tagext.TagSupport</B></TD>
215
<TR BGCOLOR="white" CLASS="TableRowColor">
216
<TD><CODE>findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue</CODE></TD>
219
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
220
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
221
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
222
<TD><B>Methods inherited from class java.lang.Object</B></TD>
224
<TR BGCOLOR="white" CLASS="TableRowColor">
225
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
231
<!-- ============ FIELD DETAIL =========== -->
234
<!-- ========= CONSTRUCTOR DETAIL ======== -->
236
<A NAME="constructor_detail"><!-- --></A>
237
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
238
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
239
<TD COLSPAN=1><FONT SIZE="+2">
240
<B>Constructor Detail</B></FONT></TD>
244
<A NAME="EmptyTag()"><!-- --></A><H3>
247
public <B>EmptyTag</B>()</PRE>
251
<!-- ============ METHOD DETAIL ========== -->
253
<A NAME="method_detail"><!-- --></A>
254
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
255
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
256
<TD COLSPAN=1><FONT SIZE="+2">
257
<B>Method Detail</B></FONT></TD>
261
<A NAME="condition()"><!-- --></A><H3>
264
protected boolean <B>condition</B>()
265
throws javax.servlet.jsp.JspException</PRE>
267
<DD>Evaluate the condition that is being tested by this particular tag,
268
and return <code>true</code> if the nested body content of this tag
269
should be evaluated, or <code>false</code> if it should be skipped.
270
This method must be implemented by concrete subclasses.
273
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html#condition()">condition</A></CODE> in class <CODE><A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html">ConditionalTagBase</A></CODE></DL>
278
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if a JSP exception occurs</DL>
283
<A NAME="condition(boolean)"><!-- --></A><H3>
286
protected boolean <B>condition</B>(boolean desired)
287
throws javax.servlet.jsp.JspException</PRE>
289
<DD>Evaluate the condition that is being tested by this particular tag,
290
and return <code>true</code> if the nested body content of this tag
291
should be evaluated, or <code>false</code> if it should be skipped.
292
This method must be implemented by concrete subclasses.
295
<DT><B>Parameters:</B><DD><CODE>desired</CODE> - Desired outcome for a true result
297
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if a JSP exception occurs</DL>
300
<!-- ========= END OF CLASS DATA ========= -->
303
<!-- ========== START OF NAVBAR ========== -->
304
<A NAME="navbar_bottom"><!-- --></A>
305
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
307
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
308
<A NAME="navbar_bottom_firstrow"><!-- --></A>
309
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
310
<TR ALIGN="center" VALIGN="top">
311
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
312
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
313
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
314
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EmptyTag.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
315
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
316
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
317
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
318
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
322
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
328
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
329
<A HREF="../../../../../org/apache/struts/taglib/logic/ConditionalTagBase.html"><B>PREV CLASS</B></A>
330
<A HREF="../../../../../org/apache/struts/taglib/logic/EqualTag.html"><B>NEXT CLASS</B></A></FONT></TD>
331
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
332
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
333
<A HREF="EmptyTag.html" TARGET="_top"><B>NO FRAMES</B></A>
338
document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
343
<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
348
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
349
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.struts.taglib.logic.ConditionalTagBase">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
350
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
351
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
354
<!-- =========== END OF NAVBAR =========== -->
357
Copyright � 2000-2003 - Apache Software Foundation