hep.aida.web.taglib
Class StatCompareTagSupport

java.lang.Object
  extended by hep.aida.web.taglib.StatCompareTagSupport
All Implemented Interfaces:
StatCompareTag

public class StatCompareTagSupport
extends java.lang.Object
implements StatCompareTag

The implementation class for all TreeTag classes.

Author:
The AIDA Team @ SLAC

Constructor Summary
StatCompareTagSupport()
           
 
Method Summary
 void doEndTag(javax.servlet.jsp.PageContext pageContext)
           
 void doStartTag()
           
 java.lang.String getAlgorithm()
           
 void setAlgorithm(java.lang.String algorithm)
          Set the comparison algorithm
 void setOptions(java.lang.String options)
          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 obj)
          Set the first object to compare.
 void setVar2(java.lang.Object obj)
          Set the second object to compare.
 void setVerbose(boolean verbose)
          Control tag output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatCompareTagSupport

public StatCompareTagSupport()
Method Detail

doStartTag

public void doStartTag()
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doEndTag

public void doEndTag(javax.servlet.jsp.PageContext pageContext)
              throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setVar1

public void setVar1(java.lang.Object obj)
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:
obj - the first object to in comparison (data)

setVar2

public void setVar2(java.lang.Object obj)
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:
obj - 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

setAlgorithm

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

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

getAlgorithm

public java.lang.String getAlgorithm()

setOptions

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

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


Copyright 2000-2007 FreeHEP. All Rights Reserved.