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:
- Serializable, IterationTag, JspTag, 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 243791 2004-02-19 17:38:13Z hlship $
- 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.
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class TagSupport
- Returns:
Tag.EVAL_PAGE
- Throws:
JspException
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.
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class TagSupport
- Returns:
Tag.EVAL_BODY_INCLUDE
- Throws:
JspException