Class TitleTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.opensymphony.module.sitemesh.taglib.AbstractTag
com.opensymphony.module.sitemesh.taglib.decorator.TitleTag
- All Implemented Interfaces:
RequestConstants,Serializable,javax.servlet.jsp.tagext.BodyTag,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
Write the Page
<title> value to out.- Version:
- $Revision: 1.3 $
- Author:
- Joe Walnes
- See Also:
-
Field Summary
FieldsFields inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag
pageContext, parentFields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class javax.servlet.jsp.tagext.TagSupport
idFields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, PAGE, ROBOTFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intdoEndTag()To be implemented by all empty tags.voidsetDefault(String defaultTitle) Value to write if no title is found (optional).Methods inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag
doStartTag, getOut, getPage, getParent, release, setPageContext, setParent, traceMethods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentMethods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getValue, getValues, removeValue, setId, setValue
-
Field Details
-
defaultTitle
-
-
Constructor Details
-
TitleTag
public TitleTag()
-
-
Method Details
-
setDefault
Value to write if no title is found (optional). -
doEndTag
public final int doEndTag()Description copied from class:AbstractTagTo be implemented by all empty tags.- Specified by:
doEndTagin interfacejavax.servlet.jsp.tagext.Tag- Specified by:
doEndTagin classAbstractTag
-