|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
hep.aida.web.taglib.jsp20.StatCompareTagImpl
public class StatCompareTagImpl
Constructor Summary | |
---|---|
StatCompareTagImpl()
|
Method Summary | |
---|---|
void |
doTag()
|
void |
setAlgorithm(String var)
Set the comparison algorithm |
void |
setOptions(String var)
Set the comparison options |
void |
setResultVar(String resultVar)
If set, the IComparisonResult will be added to the pageContext under that name |
void |
setVar1(Object var)
Set the first object to compare. |
void |
setVar2(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 |
---|
public StatCompareTagImpl()
Method Detail |
---|
public void doTag() throws javax.servlet.jsp.JspException, IOException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
IOException
public void setAlgorithm(String var)
StatCompareTag
setAlgorithm
in interface StatCompareTag
var
- The comparison algorithmpublic void setOptions(String var)
StatCompareTag
setOptions
in interface StatCompareTag
var
- The comparison optionspublic void setVar1(Object var)
StatCompareTag
IManagedObject
or the name of a variable in a JSP
scope holding an IManagedObject
.
setVar1
in interface StatCompareTag
var
- the first object to in comparison (data)public void setVar2(Object var)
StatCompareTag
IManagedObject
or the name of a variable in a JSP
scope holding an IManagedObject
.
setVar2
in interface StatCompareTag
var
- the second object to in comparison (reference)public void setVerbose(boolean verbose)
StatCompareTag
setVerbose
in interface StatCompareTag
verbose
- Set to false
to print nothing on the pagepublic void setResultVar(String resultVar)
StatCompareTag
setResultVar
in interface StatCompareTag
resultVar
- The result variable name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |