com.atlassian.jira.dev.reference.plugin.template
Class ReferenceWebResourceTransformer
java.lang.Object
com.atlassian.jira.dev.reference.plugin.template.ReferenceWebResourceTransformer
- All Implemented Interfaces:
- com.atlassian.plugin.webresource.transformer.WebResourceTransformer
public class ReferenceWebResourceTransformer
- extends Object
- implements com.atlassian.plugin.webresource.transformer.WebResourceTransformer
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)
Transforms the downloadable resource by returning a new one. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceWebResourceTransformer
public ReferenceWebResourceTransformer()
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)
- Transforms the downloadable resource by returning a new one.
- Specified by:
transform
in interface com.atlassian.plugin.webresource.transformer.WebResourceTransformer
- Parameters:
configElement
- The element where it was used. This is provided to allow the transformer to
take additional configuration in the form of custom attributes or sub-elements.location
- The original resource locationfilePath
- Extra path information. Cannot be null, but can be an empty string if no extra path informationnextResource
- The original resource
- Returns:
- The new resource representing the transformed resource
Copyright © 2002-2012 Atlassian. All Rights Reserved.