|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.displaytag.tags.CaptionTag
public class CaptionTag
Simple caption tag which mimics a standard html caption.
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| 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 | |
|---|---|
CaptionTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
|
java.lang.String |
getCloseTag()
create the closing tag. |
java.lang.String |
getOpenTag()
create the open tag containing all the attributes. |
java.util.List |
getSupportedMedia()
Obtain the list of media types this object supports. |
void |
release()
|
void |
setClass(java.lang.String value)
setter for the "class" html attribute. |
void |
setDir(java.lang.String value)
setter for the "dir" html attribute. |
void |
setId(java.lang.String value)
setter for the "id" html attribute. |
void |
setLang(java.lang.String value)
setter for the "lang" html attribute. |
void |
setMedia(java.lang.String media)
Tag setter. |
void |
setStyle(java.lang.String value)
setter for the "style" html attribute. |
void |
setSupportedMedia(java.util.List media)
Configure the list of media types this object will support. |
void |
setTitle(java.lang.String value)
setter for the "title" html attribute. |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
getParent, setPageContext, setParent |
| Constructor Detail |
|---|
public CaptionTag()
| Method Detail |
|---|
public void setStyle(java.lang.String value)
value - attribute valuepublic void setClass(java.lang.String value)
value - attribute valuepublic void setId(java.lang.String value)
setId in class javax.servlet.jsp.tagext.TagSupportvalue - attribute valuepublic void setTitle(java.lang.String value)
value - attribute valuepublic void setLang(java.lang.String value)
value - attribute valuepublic void setDir(java.lang.String value)
value - attribute valuepublic java.lang.String getOpenTag()
public java.lang.String getCloseTag()
</caption>
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionTag.doStartTag()public void setSupportedMedia(java.util.List media)
MediaUtil.SupportsMedia
setSupportedMedia in interface MediaUtil.SupportsMediamedia - The list of media types this object will support.MediaUtil.SupportsMedia.setSupportedMedia(java.util.List)public java.util.List getSupportedMedia()
MediaUtil.SupportsMedia
getSupportedMedia in interface MediaUtil.SupportsMediaMediaUtil.SupportsMedia.getSupportedMedia()public void setMedia(java.lang.String media)
media - the space delimited list of supported types
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionTag.doEndTag()public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupportTag.release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||