hep.aida.web.taglib.jsp20
Class StatCompareTagImpl

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by hep.aida.web.taglib.jsp20.StatCompareTagImpl
All Implemented Interfaces:
StatCompareTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class StatCompareTagImpl
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements StatCompareTag

Author:
The FreeHEP team @ SLAC.

Constructor Summary
StatCompareTagImpl()
           
 
Method Summary
 void doTag()
           
 void setAlgorithm(java.lang.String var)
          Set the comparison algorithm
 void setOptions(java.lang.String var)
          Set the comparison options
 void setResultVar(java.lang.String resultVar)
          If set, the IComparisonResult will be added to the pageContext under that name
 void setVar1(java.lang.Object var)
          Set the first object to compare.
 void setVar2(java.lang.Object var)
          Set the second object to compare.
 void setVerbose(boolean verbose)
          Control tag output
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatCompareTagImpl

public StatCompareTagImpl()
Method Detail

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
java.io.IOException

setAlgorithm

public void setAlgorithm(java.lang.String var)
Description copied from interface: StatCompareTag
Set the comparison algorithm

Specified by:
setAlgorithm in interface StatCompareTag
Parameters:
var - The comparison algorithm

setOptions

public void setOptions(java.lang.String var)
Description copied from interface: StatCompareTag
Set the comparison options

Specified by:
setOptions in interface StatCompareTag
Parameters:
var - The comparison options

setVar1

public void setVar1(java.lang.Object var)
Description copied from interface: StatCompareTag
Set the first object to compare. This must either be an IManagedObject or the name of a variable in a JSP scope holding an IManagedObject.

Specified by:
setVar1 in interface StatCompareTag
Parameters:
var - the first object to in comparison (data)

setVar2

public void setVar2(java.lang.Object var)
Description copied from interface: StatCompareTag
Set the second object to compare. This must either be an IManagedObject or the name of a variable in a JSP scope holding an IManagedObject.

Specified by:
setVar2 in interface StatCompareTag
Parameters:
var - the second object to in comparison (reference)

setVerbose

public void setVerbose(boolean verbose)
Description copied from interface: StatCompareTag
Control tag output

Specified by:
setVerbose in interface StatCompareTag
Parameters:
verbose - Set to false to print nothing on the page

setResultVar

public void setResultVar(java.lang.String resultVar)
Description copied from interface: StatCompareTag
If set, the IComparisonResult will be added to the pageContext under that name

Specified by:
setResultVar in interface StatCompareTag
Parameters:
resultVar - The result variable name


Copyright 2000-2007 FreeHEP. All Rights Reserved.