com.ecyrd.jspwiki.tags
Class LinkToTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.ecyrd.jspwiki.tags.WikiTagBase
com.ecyrd.jspwiki.tags.WikiLinkTag
com.ecyrd.jspwiki.tags.LinkToTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag, TryCatchFinally
- Direct Known Subclasses:
- LinkToParentTag
public class LinkToTag
- extends WikiLinkTag
Writes a link to a Wiki page. Body of the link becomes the actual text.
The link is written regardless to whether the page exists or not.
Attributes
- Since:
- 2.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_title
public String m_title
m_accesskey
public String m_accesskey
LinkToTag
public LinkToTag()
initTag
public void initTag()
- Description copied from class:
WikiTagBase
- 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 WikiLinkTag
getVersion
public String getVersion()
setVersion
public void setVersion(String arg)
setTitle
public void setTitle(String title)
setAccesskey
public void setAccesskey(String access)
doWikiStartTag
public int doWikiStartTag()
throws IOException
- Description copied from class:
WikiTagBase
- This method is allowed to do pretty much whatever he wants.
We then catch all mistakes.
- Specified by:
doWikiStartTag
in class WikiTagBase
- Throws:
IOException