railo.runtime.tag
Class Stopwatch
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.ext.tag.BodyTagImpl
railo.runtime.tag.Stopwatch
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public final class Stopwatch
- extends BodyTagImpl
Stops the time from starttag to endtag
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Stopwatch
public Stopwatch()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BodyTagImpl
- See Also:
Tag.release()
setLabel
public void setLabel(String label)
- Label of the Stopwatch
- Parameters:
label
- sets the Label of the Stopwatch
setVariable
public void setVariable(String variable)
- Variable Name to write result to it
- Parameters:
variable
- variable name
doStartTag
public int doStartTag()
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagImpl
- See Also:
Tag.doStartTag()
doEndTag
public int doEndTag()
throws PageException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class TagImpl
- Throws:
PageException
- See Also:
Tag.doEndTag()
doInitBody
public void doInitBody()
- Specified by:
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
- Overrides:
doInitBody
in class BodyTagImpl
- See Also:
BodyTag.doInitBody()
doAfterBody
public int doAfterBody()
- Specified by:
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in class BodyTagImpl
- See Also:
IterationTag.doAfterBody()
Copyright © 2012 Railo