com.atlassian.confluence.plugin.webresource
Class CssSubstitutionTransformer

java.lang.Object
  extended by com.atlassian.confluence.plugin.webresource.CssSubstitutionTransformer
All Implemented Interfaces:
WebResourceTransformer

public class CssSubstitutionTransformer
extends Object
implements WebResourceTransformer

A resource transform that substitues variables in css files. Variables are prefixed with @. Currently supported variables are:


Nested Class Summary
static class CssSubstitutionTransformer.VariableMap
           
 
Constructor Summary
CssSubstitutionTransformer()
           
 
Method Summary
 DownloadableResource transform(Element configElement, ResourceLocation location, String filePath, DownloadableResource nextResource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CssSubstitutionTransformer

public CssSubstitutionTransformer()
Method Detail

transform

public DownloadableResource transform(Element configElement,
                                      ResourceLocation location,
                                      String filePath,
                                      DownloadableResource nextResource)
Specified by:
transform in interface WebResourceTransformer


Confluence is developed by Atlassian.