com.opensymphony.module.sitemesh.taglib.decorator
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:
- BodyTag, IterationTag, RequestConstants, Serializable, Tag
- public class TitleTag
- extends AbstractTag
Write the Page <title> value to out.
- Version:
- $Revision: 1.3 $
- Author:
- Joe Walnes
- See Also:
Page.getTitle(),
Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id |
|
Method Summary |
int |
doEndTag()
To be implemented by all empty tags. |
void |
setDefault(String defaultTitle)
Value to write if no title is found (optional). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultTitle
private String defaultTitle
TitleTag
public TitleTag()
setDefault
public void setDefault(String defaultTitle)
- Value to write if no title is found (optional).
doEndTag
public final int doEndTag()
- Description copied from class:
AbstractTag
- To be implemented by all empty tags.
- Specified by:
doEndTag in interface Tag- Specified by:
doEndTag in class AbstractTag