org.apache.struts.taglib
Class IfParameterNotEqualsTag

org.apache.struts.taglib.IfParameterNotEqualsTag

public class IfParameterNotEqualsTag

Conditionally include the body of this tag if the specified parameter does not match the specified value.

Version:
$Revision: 1.3 $ $Date: 2000/08/01 20:03:33 $
Author:
Craig R. McClanahan

Field Summary
protected  java.lang.String name
          The name of the parameter being compared.
protected  java.lang.String value
          The value to compare this parameter to.
 
Constructor Summary
IfParameterNotEqualsTag()
           
 
Method Summary
 int doStartTag()
          Compare the specified parameter to the specified value, and decide whether or not to include the body content.
 java.lang.String getName()
          Return the parameter name.
 java.lang.String getValue()
          Return the comparison value.
 void release()
          Release any acquired resources.
 void setName(java.lang.String name)
          Set the parameter name.
 void setValue(java.lang.String value)
          Set the comparison value.
 

Field Detail

name

protected java.lang.String name
The name of the parameter being compared.

value

protected java.lang.String value
The value to compare this parameter to.
Constructor Detail

IfParameterNotEqualsTag

public IfParameterNotEqualsTag()
Method Detail

getName

public java.lang.String getName()
Return the parameter name.

setName

public void setName(java.lang.String name)
Set the parameter name.
Parameters:
name - The new parameter name

getValue

public java.lang.String getValue()
Return the comparison value.

setValue

public void setValue(java.lang.String value)
Set the comparison value.
Parameters:
value - The new comparison value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Compare the specified parameter to the specified value, and decide whether or not to include the body content.
Throws:
JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.


Copyright © 2000-2002 - Apache Software Foundation