com.atlassian.confluence.plugin.webresource
Class CssSubstitutionTransformer

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

public class CssSubstitutionTransformer
extends Object
implements com.atlassian.plugin.webresource.transformer.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
 com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element configElement, com.atlassian.plugin.elements.ResourceLocation location, String filePath, com.atlassian.plugin.servlet.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 com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element configElement,
                                                                   com.atlassian.plugin.elements.ResourceLocation location,
                                                                   String filePath,
                                                                   com.atlassian.plugin.servlet.DownloadableResource nextResource)
Specified by:
transform in interface com.atlassian.plugin.webresource.transformer.WebResourceTransformer


Copyright © 2003-2012 Atlassian. All Rights Reserved.