Package com.jalios.jcms.taglib
Class LinkTag
- java.lang.Object
 - 
- javax.servlet.jsp.tagext.TagSupport
 - 
- javax.servlet.jsp.tagext.BodyTagSupport
 - 
- com.jalios.jcms.taglib.UrlTag
 - 
- com.jalios.jcms.taglib.LinkTag
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,javax.servlet.jsp.tagext.BodyTag,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
public class LinkTag extends UrlTag
Output an href link using the given parameters.- Since:
 - jcms-5.7.0
 - Version:
 - $Revision: 130226 $
 - Author:
 - Olivier Jaquemet
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREVISION 
- 
Constructor Summary
Constructors Constructor Description LinkTag() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoAfterBody()intdoEndTag()intdoStartTag()voidprintDataName(java.io.Writer out, java.util.Locale locale)Print the data name on the given writer.voidprintLinkEnd(javax.servlet.jsp.JspWriter out)Print closing tag </a>.voidprintLinkStart(javax.servlet.http.HttpServletRequest request, java.io.Writer out, java.util.Locale locale)Print opening tag <a...voidsetAccessibilityInfo(java.lang.String accessibilityInfo)voidsetCss(java.lang.String css)voidsetDataAttribute(DataAttribute dataAttribute)voidsetHtmlAttributes(java.lang.String htmlAttributes)voidsetTitle(java.lang.String text)- 
Methods inherited from class com.jalios.jcms.taglib.UrlTag
getBaseURL, printUrl, setAnchor, setBaseUrl, setData, setId, setParamNames, setParamRemove, setParams, setParamValues, setUpdate 
- 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent 
- 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue 
 - 
 
 - 
 
- 
- 
Field Detail
- 
REVISION
public static final java.lang.String REVISION
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
setTitle
public void setTitle(java.lang.String text)
 
- 
setCss
public void setCss(java.lang.String css)
 
- 
setHtmlAttributes
public void setHtmlAttributes(java.lang.String htmlAttributes)
 
- 
setAccessibilityInfo
public void setAccessibilityInfo(java.lang.String accessibilityInfo)
 
- 
setDataAttribute
public void setDataAttribute(DataAttribute dataAttribute)
 
- 
printLinkStart
public void printLinkStart(javax.servlet.http.HttpServletRequest request, java.io.Writer out, java.util.Locale locale) throws java.lang.ExceptionPrint opening tag <a... href attribute with URL and other attributes.- Parameters:
 request- the current HttpServletRequestout- the current JspWriterlocale- the user Locale- Throws:
 java.lang.Exception- Since:
 - jcms-5.7.0
 
 
- 
printDataName
public void printDataName(java.io.Writer out, java.util.Locale locale) throws java.lang.ExceptionPrint the data name on the given writer.- Parameters:
 out- the current JspWriterlocale- the user Locale- Throws:
 java.lang.Exception- Since:
 - jcms-5.7.0
 
 
- 
printLinkEnd
public void printLinkEnd(javax.servlet.jsp.JspWriter out) throws java.lang.ExceptionPrint closing tag </a>.- Parameters:
 out- the current JspWriter- Throws:
 java.lang.Exception- Since:
 - jcms-5.7.0
 
 
- 
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException- Specified by:
 doStartTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
 doStartTagin classUrlTag- Throws:
 javax.servlet.jsp.JspException
 
- 
doAfterBody
public int doAfterBody() throws javax.servlet.jsp.JspException- Specified by:
 doAfterBodyin interfacejavax.servlet.jsp.tagext.IterationTag- Overrides:
 doAfterBodyin classUrlTag- Throws:
 javax.servlet.jsp.JspException
 
 - 
 
 -