|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.tag.QueryParam
public final class QueryParam
Checks the data type of a query parameter. The cfqueryparam tag is nested within a cfquery tag. It is embedded within the query SQL statement. If you specify its optional parameters, cfqueryparam also performs data validation.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
QueryParam()
|
Method Summary | |
---|---|
int |
doStartTag()
|
void |
release()
|
void |
setCfsqltype(String type)
set the value cfsqltype The SQL type that the parameter (any type) will be bound to. |
void |
setList(boolean list)
set the value list Yes or No. |
void |
setMaxlength(double maxlength)
set the value maxlength Maximum length of the parameter. |
void |
setNull(boolean nulls)
set the value null Yes or No. |
void |
setScale(double scale)
set the value scale Number of decimal places of the parameter. |
void |
setSeparator(String separator)
set the value separator Specifies the character that separates values in the list of parameter values in the value attribute. |
void |
setValue(Object value)
set the value value |
Methods inherited from class railo.runtime.ext.tag.TagImpl |
---|
doEndTag, 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 |
---|
public QueryParam()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TagImpl
Tag.release()
public void setList(boolean list)
list
- value to setpublic void setNull(boolean nulls)
nulls
- value to setpublic void setValue(Object value)
value
- value to setpublic void setMaxlength(double maxlength)
maxlength
- value to setpublic void setSeparator(String separator)
separator
- value to setpublic void setScale(double scale)
scale
- value to setpublic void setCfsqltype(String type) throws DatabaseException
type
- value to set
DatabaseException
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
Tag.doStartTag()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |