com.atlassian.confluence.util.i18n
Interface DocumentationBean

All Known Implementing Classes:
VersionSpecificDocumentationBean

public interface DocumentationBean

Constructs a link to the instance's documentation


Method Summary
 boolean exists(java.lang.String docLink)
          Returns true if the documentation link exists, otherwise false.
 java.lang.String getAlt(java.lang.String docLink)
          Retrieves the alt text for images associated with the link to help documentation
 java.lang.String getLink(java.lang.String docLink)
          Constructs a link to help documentation
 java.lang.String getTitle(java.lang.String docLink)
          Retrieves the title for the link to help documentation
 boolean isLocal(java.lang.String docLink)
          Retrieves the location of the help documentation
 

Method Detail

getLink

java.lang.String getLink(java.lang.String docLink)
Constructs a link to help documentation

Parameters:
docLink - the page title
Returns:
link to help documentation

getTitle

java.lang.String getTitle(java.lang.String docLink)
Retrieves the title for the link to help documentation

Parameters:
docLink - the page title
Returns:
title for the link

getAlt

java.lang.String getAlt(java.lang.String docLink)
Retrieves the alt text for images associated with the link to help documentation

Parameters:
docLink - the page title
Returns:
alt text for images that may be used as or with the link

isLocal

boolean isLocal(java.lang.String docLink)
Retrieves the location of the help documentation

Parameters:
docLink - the page title
Returns:
true if the documentation is local to the instance, false if it is external

exists

boolean exists(java.lang.String docLink)
Returns true if the documentation link exists, otherwise false.



Copyright © 2003-2013 Atlassian. All Rights Reserved.