public final class Content extends BodyTagImpl
Constructor and Description |
---|
Content() |
Modifier and Type | Method and Description |
---|---|
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) |
doAfterBody, doInitBody, setBodyContent
getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Content()
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(Object)
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()
public void hasBody(boolean hasBody)
hasBody
- Copyright © 2015 Lucee