org.apache.commons.jelly.tags.sql
Class DriverTag
java.lang.Object
|
+--org.apache.commons.jelly.TagSupport
|
+--org.apache.commons.jelly.tags.sql.DriverTag
- All Implemented Interfaces:
- Tag
- public class DriverTag
- extends TagSupport
Tag handler for <Driver> in JSTL, used to create
a simple DataSource for prototyping.
- Author:
- Hans Bergsten
Method Summary |
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized. |
protected java.lang.String |
getInitParameter(java.lang.String key)
|
void |
setDriver(java.lang.String driverClassName)
|
void |
setJdbcURL(java.lang.String jdbcURL)
|
void |
setScope(java.lang.String scopeName)
Sets the scope of the variable to hold the
result. |
void |
setUserName(java.lang.String userName)
|
void |
setVar(java.lang.String var)
|
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DriverTag
public DriverTag()
setDriver
public void setDriver(java.lang.String driverClassName)
setJdbcURL
public void setJdbcURL(java.lang.String jdbcURL)
setScope
public void setScope(java.lang.String scopeName)
- Sets the scope of the variable to hold the
result.
setUserName
public void setUserName(java.lang.String userName)
setVar
public void setVar(java.lang.String var)
doTag
public void doTag(XMLOutput output)
throws java.lang.Exception
- Description copied from interface:
Tag
- Evaluates this tag after all the tags properties have been initialized.
getInitParameter
protected java.lang.String getInitParameter(java.lang.String key)
Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.