public abstract class QueryExecutingTag
extends javax.servlet.jsp.tagext.BodyTagSupport
Modifier and Type | Field and Description |
---|---|
protected String[] |
columnNames |
protected ContextManagerIF |
contextManager |
protected String |
query |
protected QueryResultIF |
queryResult |
Constructor and Description |
---|
QueryExecutingTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
bindVariables()
Bind the variables of a result set to the current row.
|
int |
doAfterBody()
Print the body content to the enclosing writer.
|
int |
doEndTag()
return EVAL_PAGE by default.
|
int |
doStartTag()
Process the start tag for this instance.
|
String |
getQuery() |
protected QueryResultIF |
getQueryResult() |
void |
release()
Resets the state of the Tag.
|
void |
setQuery(String query) |
doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected String[] columnNames
protected ContextManagerIF contextManager
protected QueryResultIF queryResult
protected String query
public int doStartTag() throws javax.servlet.jsp.JspTagException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspTagException
public String getQuery()
protected QueryResultIF getQueryResult()
protected void bindVariables() throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
public int doAfterBody() throws javax.servlet.jsp.JspTagException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspTagException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public void setQuery(String query)