railo.runtime.tag
Class DBInfo

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.DBInfo
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class DBInfo
extends TagImpl

Handles all interactions with files. The attributes you use with cffile depend on the value of the action attribute. For example, if the action = "write", use the attributes associated with writing a text file.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
DBInfo()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
static String getDatasource(PageContext pageContext, String datasource)
           
 void release()
           
 void setDatasource(String datasource)
           
 void setDbname(String dbname)
           
 void setDbnames(String dbname)
           
 void setName(String name)
           
 void setPassword(String password)
           
 void setPattern(String pattern)
           
 void setProcedure(String procedure)
           
 void setTable(String table)
           
 void setType(String strType)
           
 void setUsername(String username)
           
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBInfo

public DBInfo()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagImpl
See Also:
Tag.release()

setProcedure

public void setProcedure(String procedure)
Parameters:
procedure - the procedure to set

setDatasource

public void setDatasource(String datasource)
Parameters:
datasource - the datasource to set

setName

public void setName(String name)
Parameters:
name - the name to set

setType

public void setType(String strType)
             throws ApplicationException
Parameters:
type - the type to set
Throws:
ApplicationException

setDbname

public void setDbname(String dbname)
Parameters:
dbname - the dbname to set

setDbnames

public void setDbnames(String dbname)

setPassword

public void setPassword(String password)
Parameters:
password - the password to set

setPattern

public void setPattern(String pattern)
Parameters:
pattern - the pattern to set

setTable

public void setTable(String table)
Parameters:
table - the table to set

setUsername

public void setUsername(String username)
Parameters:
username - the username to set

doStartTag

public int doStartTag()
               throws PageException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
Throws:
PageException
See Also:
Tag.doStartTag()

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl
See Also:
Tag.doEndTag()

getDatasource

public static String getDatasource(PageContext pageContext,
                                   String datasource)
                            throws ApplicationException
Throws:
ApplicationException


Copyright © 2012 Railo