com.taggercat.tags
Class DataSourceTagExtraInfo

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagExtraInfo
      extended by com.taggercat.tags.DataSourceTagExtraInfo

public class DataSourceTagExtraInfo
extends javax.servlet.jsp.tagext.TagExtraInfo

This class provides the information needed at JSP page Translation Time to create the instance variable for the DataSource tag. Therefore, at page request time, the specified variable is available to scriptlet code within the JSP page. The name of the variable is set by the "instanceVar" attribute. If the "instanceVar" attribute is not set, then data source name is used for the instance variable.
The default type of the variable is "com.taggercat.model.DataSource", If you have specified your own class with the classname this should be set to the classname attribute, then the variable will be of that type.

 

Constructor Summary
DataSourceTagExtraInfo()
           
 
Method Summary
 javax.servlet.jsp.tagext.VariableInfo[] getVariableInfo(javax.servlet.jsp.tagext.TagData data)
          Gets the variableInfo attribute of the DataSourceTagExtraInfo object.
 
Methods inherited from class javax.servlet.jsp.tagext.TagExtraInfo
getTagInfo, isValid, setTagInfo, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceTagExtraInfo

public DataSourceTagExtraInfo()
Method Detail

getVariableInfo

public javax.servlet.jsp.tagext.VariableInfo[] getVariableInfo(javax.servlet.jsp.tagext.TagData data)
Gets the variableInfo attribute of the DataSourceTagExtraInfo object.

Overrides:
getVariableInfo in class javax.servlet.jsp.tagext.TagExtraInfo
Parameters:
data - Description of Parameter
Returns:
The variableInfo value