hep.aida.web.taglib.jsp20
Class TupleTagImpl
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
hep.aida.web.taglib.jsp20.TupleTagImpl
- All Implemented Interfaces:
- TupleTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
public class TupleTagImpl
- extends javax.servlet.jsp.tagext.SimpleTagSupport
- implements TupleTag
- Author:
- The AIDA team @ SLAC.
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 |
TupleTagImpl
public TupleTagImpl()
getTupleTagSupport
public TupleTagSupport getTupleTagSupport()
doTag
public void doTag()
throws javax.servlet.jsp.JspException,
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
IOException
setVar
public void setVar(String var)
- Description copied from interface:
TupleTag
- Set the name of the output variable for the
ITuple
. This is a
required attribute. If the scope is not specified (see
TupleTag.setScope(String)
) then the ITuple
will be stored in
page
scope.
- Specified by:
setVar
in interface TupleTag
- Parameters:
var
- the name of the output variable- See Also:
TupleTag.setScope(String)
setScope
public void setScope(String scope)
- Description copied from interface:
TupleTag
- Set the scope of the output variable. This is an optional attribute, and
can be one of
page
,request
,
session
or application
. The default is
page
.
- Specified by:
setScope
in interface TupleTag
- Parameters:
scope
- scope of the output variable- See Also:
TupleTag.setVar(String)
setQuery
public void setQuery(Object resultSet)
- Description copied from interface:
TupleTag
- Set the query to transform into an
ITuple
. This can be an
instance of ResultSet
,Result
or the name of a variable
in a JSP scope holding an ResultSet
.
- Specified by:
setQuery
in interface TupleTag
- Parameters:
resultSet
- the query to transform into an ITuple
Copyright © 2000-2006 FreeHEP. All Rights Reserved.