com.caucho.jstl.rt
Class SqlSetDataSourceTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.caucho.jstl.rt.SqlSetDataSourceTag
All Implemented Interfaces:
java.io.Serializable, IterationTag, JspTag, Tag

public class SqlSetDataSourceTag
extends TagSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
SqlSetDataSourceTag()
           
 
Method Summary
 int doStartTag()
          Processed at the beginning of the tag.
 void setDataSource(java.lang.Object dataSource)
          Sets the object for the dataSource.
 void setDriver(java.lang.String driver)
          Sets the driver.
 void setPassword(java.lang.String password)
          Sets the password.
 void setScope(java.lang.String scope)
          Sets the scope.
 void setUrl(java.lang.String url)
          Sets the URL.
 void setUser(java.lang.String user)
          Sets the user.
 void setVar(java.lang.String var)
          Sets the variable name.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlSetDataSourceTag

public SqlSetDataSourceTag()
Method Detail

setDataSource

public void setDataSource(java.lang.Object dataSource)
Sets the object for the dataSource.


setUrl

public void setUrl(java.lang.String url)
Sets the URL.


setDriver

public void setDriver(java.lang.String driver)
Sets the driver.


setUser

public void setUser(java.lang.String user)
Sets the user.


setPassword

public void setPassword(java.lang.String password)
Sets the password.


setVar

public void setVar(java.lang.String var)
Sets the variable name.


setScope

public void setScope(java.lang.String scope)
Sets the scope.


doStartTag

public int doStartTag()
               throws JspException
Description copied from class: TagSupport
Processed at the beginning of the tag.

The default behavior returns SKIP_BODY to skip the tag's body.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
Returns:
SKIP_BODY to ignore the body and EVAL_BODY_INCLUDE to evaluate the body.
Throws:
JspException