public class ParamTag
extends javax.servlet.jsp.tagext.BodyTagSupport
LinkTag
.Modifier and Type | Field and Description |
---|---|
protected static MessageResources |
messages
The message resources for this package.
|
protected String |
name
The name of the query parameter.
|
protected String |
value
The value of the query parameter or body content of this tag (if any).
|
Constructor and Description |
---|
ParamTag() |
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody()
Save the associated from the body content.
|
int |
doEndTag()
Render the end of the hyperlink.
|
int |
doStartTag() |
String |
getName() |
String |
getValue() |
void |
release()
Release any acquired resources.
|
void |
setName(String name) |
void |
setValue(String value) |
doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected static MessageResources messages
protected String name
protected String value
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.