railo.runtime.tag
Class SaveContent
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.ext.tag.BodyTagImpl
railo.runtime.ext.tag.BodyTagTryCatchFinallyImpl
railo.runtime.tag.SaveContent
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
public final class SaveContent
- extends BodyTagTryCatchFinallyImpl
Saves the generated content inside the tag body in a variable.
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 |
Method Summary |
int |
doAfterBody()
|
int |
doStartTag()
|
void |
release()
|
void |
setAppend(boolean append)
if true, and a variable with the passed name already exists, the content will be appended to the variable instead of overwriting it |
void |
setTrim(boolean trim)
|
void |
setVariable(String variable)
set the value variable
The name of the variable in which to save the generated content inside the tag. |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
doEndTag, getParent, setPageContext, setParent |
SaveContent
public SaveContent()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BodyTagImpl
setVariable
public void setVariable(String variable)
- set the value variable
The name of the variable in which to save the generated content inside the tag.
- Parameters:
variable
- value to set
setTrim
public void setTrim(boolean trim)
setAppend
public void setAppend(boolean append)
- if true, and a variable with the passed name already exists, the content will be appended to the variable instead of overwriting it
doStartTag
public int doStartTag()
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagImpl
doAfterBody
public int doAfterBody()
throws PageException
- Specified by:
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in class BodyTagImpl
- Throws:
PageException
Copyright © 2012 Railo