public class ReferenceWebResourceTransformer extends Object implements com.atlassian.plugin.webresource.transformer.WebResourceTransformer
Constructor and Description |
---|
ReferenceWebResourceTransformer() |
Modifier and Type | Method and 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)
Transforms the downloadable resource by returning a new one.
|
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)
transform
in interface com.atlassian.plugin.webresource.transformer.WebResourceTransformer
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 resourceCopyright © 2002-2021 Atlassian. All Rights Reserved.