public abstract class UrlSupport extends BodyTagSupport implements ParamParent
Support for tag handlers for <url>, the URL creation and rewriting tag in JSTL 1.0.
Modifier and Type | Field and Description |
---|---|
protected String |
context |
protected String |
value |
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
UrlSupport() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String name,
String value)
Adds a parameter to this tag's URL.
|
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE.
|
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED.
|
void |
release()
Release state.
|
static String |
resolveUrl(String url,
String context,
PageContext pageContext) |
void |
setScope(String scope) |
void |
setVar(String var) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public void setVar(String var)
public void setScope(String scope)
public void addParameter(String name, String value)
ParamParent
addParameter
in interface ParamParent
ParamSupport
public int doStartTag() throws JspException
BodyTagSupport
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doStartTag()
public int doEndTag() throws JspException
BodyTagSupport
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doEndTag()
public void release()
BodyTagSupport
release
in interface Tag
release
in class BodyTagSupport
Tag.release()
public static String resolveUrl(String url, String context, PageContext pageContext) throws JspException
JspException
Copyright © 2017 JBoss by Red Hat. All rights reserved.