com.ecyrd.jspwiki.tags
Class RSSImageLinkTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.ecyrd.jspwiki.tags.WikiTagBase
com.ecyrd.jspwiki.tags.RSSImageLinkTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag, TryCatchFinally
public class RSSImageLinkTag
- extends WikiTagBase
Writes an image link to a JSPWiki RSS file. If RSS generation has
been turned off in jspwiki.properties, returns an empty string.
- Since:
- 2.0
- See Also:
- Serialized Form
Method Summary |
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants. |
String |
getTitle()
Returns the title. |
void |
initTag()
This method is called when the tag is encountered within a new request,
but before the setXXX() methods are called. |
void |
setMode(String mode)
|
void |
setTitle(String title)
Sets the title for the link. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_title
protected String m_title
RSSImageLinkTag
public RSSImageLinkTag()
initTag
public void initTag()
- This method is called when the tag is encountered within a new request,
but before the setXXX() methods are called.
The default implementation does nothing.
- Overrides:
initTag
in class WikiTagBase
setTitle
public void setTitle(String title)
- Sets the title for the link. If not defined, no title is shown.
- Parameters:
title
- A string for the title.
setMode
public void setMode(String mode)
getTitle
public String getTitle()
- Returns the title.
- Returns:
- The title.
doWikiStartTag
public final int doWikiStartTag()
throws IOException
- This method is allowed to do pretty much whatever he wants.
We then catch all mistakes.
- Specified by:
doWikiStartTag
in class WikiTagBase
- Throws:
IOException