com.atlassian.confluence.links
Class AbstractAttachmentLink
java.lang.Object
com.atlassian.renderer.links.Link
com.atlassian.renderer.links.BaseLink
com.atlassian.confluence.links.AbstractAttachmentLink
- Direct Known Subclasses:
- AttachmentLink, DraftAttachmentLink
public abstract class AbstractAttachmentLink
- extends com.atlassian.renderer.links.BaseLink
Class represents a link to an attachment.
Fields inherited from class com.atlassian.renderer.links.Link |
iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url |
Constructor Summary |
protected |
AbstractAttachmentLink(com.atlassian.renderer.links.GenericLinkParser genericLinkParser)
|
Methods inherited from class com.atlassian.renderer.links.BaseLink |
equals, getOriginalParser, hashCode, setI18nTitle, setTitle |
Methods inherited from class com.atlassian.renderer.links.Link |
getIconName, getLinkAttributes, getOriginalLinkText, getTitle, getTitleArgs, getTitleKey, getUnpermittedLinkBody, getUrl, isRelativeUrl |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
attachment
protected Attachment attachment
AbstractAttachmentLink
protected AbstractAttachmentLink(com.atlassian.renderer.links.GenericLinkParser genericLinkParser)
getAttachment
public Attachment getAttachment()
- Returns:
- attachment the link points to
getLinkBody
public java.lang.String getLinkBody()
- Overrides:
getLinkBody
in class com.atlassian.renderer.links.Link
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.