hep.aida.web.taglib
Interface TupleTag

All Known Implementing Classes:
TupleTagImpl, TupleTagSupport

public interface TupleTag

A top level tag which cretes an AIDA ITuple.

Author:
The AIDA Team @ SLAC

Method Summary
 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.
 

Method Detail

setVar

void setVar(java.lang.String var)
Set the name of the output variable for the ITuple. This is a required attribute. If the scope is not specified (see setScope(String)) then the ITuplewill be stored in page scope.

Parameters:
var - the name of the output variable
See Also:
setScope(String)

setScope

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

Parameters:
scope - scope of the output variable
See Also:
setVar(String)

setQuery

void setQuery(java.lang.Object query)
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.

Parameters:
query - the query to transform into an ITuple


Copyright 2000-2007 FreeHEP. All Rights Reserved.