|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.aida.web.taglib.TupleTagSupport
public class TupleTagSupport
The implementation class for all TupleTag
classes.
Constructor Summary | |
---|---|
TupleTagSupport()
|
Method Summary | |
---|---|
void |
doEndTag(javax.servlet.jsp.PageContext pageContext)
|
void |
doStartTag()
|
Object |
getQuery()
|
String |
getScope()
|
String |
getVar()
|
void |
setQuery(Object query)
Set the query to transform into an ITuple . |
void |
setScope(String scope)
Set the scope of the output variable. |
void |
setVar(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 |
---|
public TupleTagSupport()
Method Detail |
---|
public void doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void doEndTag(javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void setVar(String var)
TupleTag
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.
setVar
in interface TupleTag
var
- the name of the output variableTupleTag.setScope(String)
public String getVar()
public void setScope(String scope)
TupleTag
page
,request
,
session
or application
. The default is
page
.
setScope
in interface TupleTag
scope
- scope of the output variableTupleTag.setVar(String)
public String getScope()
public void setQuery(Object query)
TupleTag
ITuple
. This can be an
instance of ResultSet
,Result
or the name of a variable
in a JSP scope holding an ResultSet
.
setQuery
in interface TupleTag
query
- the query to transform into an ITuple
public Object getQuery()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |