com.atlassian.confluence.util
Class ConfluenceRenderUtils

java.lang.Object
  extended by com.atlassian.confluence.util.ConfluenceRenderUtils

public final class ConfluenceRenderUtils
extends java.lang.Object

Utilities for rendering Confluence wiki content


Constructor Summary
ConfluenceRenderUtils()
           
 
Method Summary
static java.lang.String getAbsoluteAttachmentRemotePath(Attachment a)
           
static java.lang.String getAttachmentRemotePath(Attachment a)
           
static java.lang.String getAttachmentRemotePath(ContentEntityObject content)
           
static java.lang.String getAttachmentsRemotePath(PageContext context)
           
static java.lang.String renderDefaultStylesheet()
          Returns a default stylesheet for Confluence.
static java.lang.String renderSpaceStylesheet(Space space)
          Returns a default stylesheet for Confluence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceRenderUtils

public ConfluenceRenderUtils()
Method Detail

getAttachmentsRemotePath

public static java.lang.String getAttachmentsRemotePath(PageContext context)

getAttachmentRemotePath

public static java.lang.String getAttachmentRemotePath(Attachment a)

getAttachmentRemotePath

public static java.lang.String getAttachmentRemotePath(ContentEntityObject content)

getAbsoluteAttachmentRemotePath

public static java.lang.String getAbsoluteAttachmentRemotePath(Attachment a)

renderDefaultStylesheet

public static java.lang.String renderDefaultStylesheet()
Returns a default stylesheet for Confluence. This includes the master styles, default theme styles and the globally configured colour scheme.

Returns:
string representation of a default stylesheet for Confluence
See Also:
DefaultTheme

renderSpaceStylesheet

public static java.lang.String renderSpaceStylesheet(Space space)
Returns a default stylesheet for Confluence. This includes the master styles, default theme styles and the space's configured colour scheme.



Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.