public class HtmlImageProcessingRule extends com.opensymphony.module.sitemesh.html.BasicRule implements ImageProcessingRule
It extracts the image tag urls and replaces them with a relative export path i.e a path relative to the temprorary export directory where the exported image is expected to be copied to.
| Constructor and Description | 
|---|
HtmlImageProcessingRule()  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ExportImageDescriptor> | 
getExtractedUrls()
Gets the set of  
ExportImageDescriptor representing the image tag
 urls that were extracted during processing. | 
void | 
process(com.opensymphony.module.sitemesh.html.Tag tag)  | 
void | 
setAttachmentUrlParser(AttachmentUrlParser attachmentUrlParser)  | 
void | 
setSettingsManager(SettingsManager settingsManager)  | 
currentBuffer, getCurrentBufferContent, setContext, shouldProcesspublic void process(com.opensymphony.module.sitemesh.html.Tag tag)
process in interface com.opensymphony.module.sitemesh.html.TagRuleprocess in class com.opensymphony.module.sitemesh.html.BasicRulepublic Set<ExportImageDescriptor> getExtractedUrls()
ImageProcessingRuleExportImageDescriptor representing the image tag
 urls that were extracted during processing.getExtractedUrls in interface ImageProcessingRulepublic void setSettingsManager(SettingsManager settingsManager)
public void setAttachmentUrlParser(AttachmentUrlParser attachmentUrlParser)
Copyright © 2003–2022 Atlassian. All rights reserved.