com.atlassian.confluence.plugin.webresource
Interface ConfluenceWebResourceService

All Known Implementing Classes:
DefaultConfluenceWebResourceService

public interface ConfluenceWebResourceService

Provides services related to writing Confluence html resource tags.

This service is meant to replace ConfluenceWebResourceManager that implements the now deprecated WebResourceManager interface.

Since:
5.5

Nested Class Summary
static class ConfluenceWebResourceService.Style
          Style of a page.
 
Method Summary
 void writeConfluenceResourceTags(Writer writer, ConfluenceWebResourceService.Style style, String spaceKey)
          Write all html resource tags to the given writer.
 

Method Detail

writeConfluenceResourceTags

void writeConfluenceResourceTags(@Nonnull
                                 Writer writer,
                                 @Nullable
                                 ConfluenceWebResourceService.Style style,
                                 @Nullable
                                 String spaceKey)
Write all html resource tags to the given writer.

Internally Web Resources module is used to output most of the resources, with some Confluence theme specific resources added to the mix.

Parameters:
writer - writer to write the tags to
style - style to apply if any
spaceKey - current space if any


Copyright © 2003–2015 Atlassian. All rights reserved.