org.apache.tapestry.jsp
Class AbstractLinkTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.apache.tapestry.jsp.AbstractTapestryTag
|
+--org.apache.tapestry.jsp.AbstractLinkTag
- All Implemented Interfaces:
- IterationTag, Serializable, Tag
- Direct Known Subclasses:
- ExternalTag, PageTag
- public abstract class AbstractLinkTag
- extends AbstractTapestryTag
Abstract super-class of Tapestry JSP tags that produce a hyperlink
(<a>
) tag. Tags use a
URLRetriever
for the href
attribute, and may include a
class
attribute (based on
the styleClass property
.
- Since:
- 3.0
- Version:
- $Id: AbstractLinkTag.java,v 1.3 2003/05/28 13:41:41 hlship Exp $
- Author:
- Howard Lewis Ship
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLinkTag
public AbstractLinkTag()
getStyleClass
public String getStyleClass()
setStyleClass
public void setStyleClass(String styleClass)
doEndTag
public int doEndTag()
throws JspException
- Writes a
</a>
tag.
- Overrides:
doEndTag
in class TagSupport
- Returns:
Tag.EVAL_PAGE
doStartTag
public int doStartTag()
throws JspException
- Writes a
<a> tag. The tag may
have a class
attribute if the
styleClass property
is not null. The href
attribute is provided via
a URLRetriever
.
- Overrides:
doStartTag
in class TagSupport
- Returns:
Tag.EVAL_BODY_INCLUDE