railo.runtime.tag
Class SaveContent

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.ext.tag.BodyTagImpl
          extended by railo.runtime.ext.tag.BodyTagTryCatchFinallyImpl
              extended by 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.


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
SaveContent()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
 void release()
           
 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 class railo.runtime.ext.tag.BodyTagTryCatchFinallyImpl
doCatch, doFinally
 
Methods inherited from class railo.runtime.ext.tag.BodyTagImpl
doInitBody, setBodyContent
 
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, getParent, setPageContext, setParent
 

Constructor Detail

SaveContent

public SaveContent()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BodyTagImpl
See Also:
Tag.release()

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)

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
See Also:
Tag.doStartTag()

doAfterBody

public int doAfterBody()
                throws PageException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class BodyTagImpl
Throws:
PageException
See Also:
IterationTag.doAfterBody()


Copyright © 2012 Railo