Class CssSubstitutionTransformer
- java.lang.Object
-
- 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 substitutes variables in css files. Variables are prefixed with @.Currently supported variables are:
- @contextPath - an empty string or a string that starts with a slash
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CssSubstitutionTransformer.VariableMap
-
Constructor Summary
Constructors Constructor Description CssSubstitutionTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.atlassian.plugin.servlet.DownloadableResource
transform(org.dom4j.Element configElement, com.atlassian.plugin.elements.ResourceLocation location, String filePath, com.atlassian.plugin.servlet.DownloadableResource nextResource)
-
-
-
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 interfacecom.atlassian.plugin.webresource.transformer.WebResourceTransformer
-
-