com.atlassian.confluence.links
Class AbstractAttachmentLink

java.lang.Object
  extended by com.atlassian.renderer.links.Link
      extended by com.atlassian.renderer.links.BaseLink
          extended by 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.


Field Summary
protected  Attachment attachment
           
 
Fields inherited from class com.atlassian.renderer.links.Link
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle
 
Constructor Summary
protected AbstractAttachmentLink(com.atlassian.renderer.links.GenericLinkParser genericLinkParser)
           
 
Method Summary
 Attachment getAttachment()
           
 java.lang.String getLinkBody()
           
 
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, getWikiDestination, getWikiTitle, isAliasSpecified, isRelativeUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attachment

protected Attachment attachment
Constructor Detail

AbstractAttachmentLink

protected AbstractAttachmentLink(com.atlassian.renderer.links.GenericLinkParser genericLinkParser)
Method Detail

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-2014 Atlassian. All Rights Reserved.