com.atlassian.greenhopper.web.util
Class JsGlobalTransformer

java.lang.Object
  extended by com.atlassian.greenhopper.web.util.JsGlobalTransformer
All Implemented Interfaces:
com.atlassian.plugin.webresource.transformer.WebResourceTransformer

public class JsGlobalTransformer
extends java.lang.Object
implements com.atlassian.plugin.webresource.transformer.WebResourceTransformer

Takes care of transforming javascript files using global constants. Currently supported are: ${contextPath} : The contextPath from HttpServletRequest

Author:
ahennecke

Constructor Summary
JsGlobalTransformer()
           
 
Method Summary
 com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element configElement, com.atlassian.plugin.elements.ResourceLocation location, java.lang.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

JsGlobalTransformer

public JsGlobalTransformer()
Method Detail

transform

public com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element configElement,
                                                                   com.atlassian.plugin.elements.ResourceLocation location,
                                                                   java.lang.String filePath,
                                                                   com.atlassian.plugin.servlet.DownloadableResource nextResource)
Specified by:
transform in interface com.atlassian.plugin.webresource.transformer.WebResourceTransformer


Copyright © 2007-2011 Atlassian. All Rights Reserved.