hep.aida.web.taglib
Interface StatCompareTag

All Known Implementing Classes:
StatCompareTagImpl, StatCompareTagSupport

public interface StatCompareTag

Performs the statistical comparison of two objects and prints the result. So far supported objects are ICloud1D and IHistogram1D.

Author:
The AIDA Team @ SLAC

Method Summary
 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 var1)
          Set the first object to compare.
 void setVar2(java.lang.Object var2)
          Set the second object to compare.
 void setVerbose(boolean verbose)
          Control tag output
 

Method Detail

setVar1

void setVar1(java.lang.Object var1)
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.

Parameters:
var1 - the first object to in comparison (data)

setVar2

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

Parameters:
var2 - the second object to in comparison (reference)

setVerbose

void setVerbose(boolean verbose)
Control tag output

Parameters:
verbose - Set to false to print nothing on the page

setResultVar

void setResultVar(java.lang.String resultVar)
If set, the IComparisonResult will be added to the pageContext under that name

Parameters:
resultVar - The result variable name

setAlgorithm

void setAlgorithm(java.lang.String algorithm)
Set the comparison algorithm

Parameters:
algorithm - The comparison algorithm

setOptions

void setOptions(java.lang.String options)
Set the comparison options

Parameters:
options - The comparison options


Copyright 2000-2007 FreeHEP. All Rights Reserved.