|
||||||||||
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.ext.tag.BodyTagImpl
railo.runtime.tag.Content
public final class Content
Defines the MIME type returned by the current page. Optionally, lets you specify the name of a file to be returned with the page.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Content()
|
Method Summary | |
---|---|
int |
doEndTag()
|
int |
doStartTag()
|
void |
hasBody(boolean hasBody)
sets if tag has a body or not |
void |
release()
|
void |
setContent(byte[] content)
Deprecated. replaced with
|
void |
setDeletefile(boolean deletefile)
set the value deletefile Yes or No. |
void |
setFile(String file)
set the value file The name of the file being retrieved |
void |
setRange(boolean range)
|
void |
setReset(boolean reset)
set the value reset Yes or No. |
void |
setType(String type)
set the value type Defines the File/ MIME content type returned by the current page. |
void |
setVariable(Object variable)
|
Methods inherited from class railo.runtime.ext.tag.BodyTagImpl |
---|
doAfterBody, doInitBody, setBodyContent |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Constructor Detail |
---|
public Content()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagImpl
public void setType(String type)
type
- value to setpublic void setRange(boolean range)
public void setFile(String file)
file
- value to setpublic void setContent(byte[] content)
#setVariable(String)
content
- value to setpublic void setVariable(Object variable) throws PageException
PageException
public void setReset(boolean reset)
reset
- value to setpublic void setDeletefile(boolean deletefile)
deletefile
- value to setpublic int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
public void hasBody(boolean hasBody)
hasBody
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |