railo.runtime.tag
Class DBInfo
java.lang.Object
railo.runtime.ext.tag.TagImpl
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.
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
DBInfo
public DBInfo()
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