com.atlassian.greenhopper.soy
Class SoyTransformer

java.lang.Object
  extended by com.atlassian.greenhopper.soy.SoyTransformer
All Implemented Interfaces:
com.atlassian.plugin.webresource.transformer.WebResourceTransformer

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

Transformer to make soy templates work in GH. Copied from JIRA-Trunk, TODO remove here once we switch to 4.4

Author:
ahennecke

Constructor Summary
SoyTransformer(com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext)
           
 
Method Summary
 com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element element, 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

SoyTransformer

public SoyTransformer(com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext)
Method Detail

transform

public com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element element,
                                                                   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.