public class StaticTag extends BodyTagSupport implements Attributed
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
StaticTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
disposeBuilder()
Disposes the builder instance.
|
int |
doEndTag() |
int |
doStartTag() |
void |
setAttribute(String name,
String value)
Sets the HTML attribute from a sub
AttributeTag . |
void |
setBadge(Object type) |
void |
setBadgeUrl(String url) |
void |
setScope(String scope) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setThing(Object thing) |
protected void |
setupBuilder()
Creates a new builder instance, if not already done.
|
void |
setVar(String var) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, 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 StaticTag()
public void setBadgeUrl(String url)
public void setStyleClass(String styleClass)
public void setAttribute(String name, String value)
Attributed
AttributeTag
.setAttribute
in interface Attributed
name
- Attribute namevalue
- Attribute valuepublic int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
JspException
protected void setupBuilder()
protected void disposeBuilder()
Copyright © 2010–2017. All rights reserved.