hep.aida.web.taglib
Class TupleTagSupport

java.lang.Object
  extended by hep.aida.web.taglib.TupleTagSupport
All Implemented Interfaces:
TupleTag

public class TupleTagSupport
extends java.lang.Object
implements TupleTag

The implementation class for all TupleTagclasses.

Author:
The AIDA Team @ SLAC

Constructor Summary
TupleTagSupport()
           
 
Method Summary
 void doEndTag(javax.servlet.jsp.PageContext pageContext)
           
 void doStartTag()
           
 java.lang.Object getQuery()
           
 java.lang.String getScope()
           
 java.lang.String getVar()
           
 void setQuery(java.lang.Object query)
          Set the query to transform into an ITuple.
 void setScope(java.lang.String scope)
          Set the scope of the output variable.
 void setVar(java.lang.String var)
          Set the name of the output variable for the ITuple.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleTagSupport

public TupleTagSupport()
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

setVar

public void setVar(java.lang.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 ITuplewill be stored in page scope.

Specified by:
setVar in interface TupleTag
Parameters:
var - the name of the output variable
See Also:
TupleTag.setScope(String)

getVar

public java.lang.String getVar()

setScope

public void setScope(java.lang.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)

getScope

public java.lang.String getScope()

setQuery

public void setQuery(java.lang.Object query)
Description copied from interface: TupleTag
Set the query to transform into an ITuple. This can be an instance of ResultSet,Resultor the name of a variable in a JSP scope holding an ResultSet.

Specified by:
setQuery in interface TupleTag
Parameters:
query - the query to transform into an ITuple

getQuery

public java.lang.Object getQuery()


Copyright 2000-2007 FreeHEP. All Rights Reserved.