Class HtmlImageProcessingRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
com.atlassian.confluence.importexport.impl.HtmlImageProcessingRule
- All Implemented Interfaces:
ImageProcessingRule,com.opensymphony.module.sitemesh.html.TagRule
public class HtmlImageProcessingRule
extends com.opensymphony.module.sitemesh.html.BasicRule
implements ImageProcessingRule
Processes image tags for html exports.
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.
-
Field Summary
Fields inherited from class com.opensymphony.module.sitemesh.html.BasicRule
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the set ofExportImageDescriptorrepresenting the image tag urls that were extracted during processing.voidprocess(com.opensymphony.module.sitemesh.html.Tag tag) voidsetAttachmentUrlParser(AttachmentUrlParser attachmentUrlParser) voidsetSettingsManager(SettingsManager settingsManager) Methods inherited from class com.opensymphony.module.sitemesh.html.BasicRule
currentBuffer, getCurrentBufferContent, setContext, shouldProcessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.opensymphony.module.sitemesh.html.TagRule
setContext, shouldProcess
-
Constructor Details
-
HtmlImageProcessingRule
public HtmlImageProcessingRule()
-
-
Method Details
-
process
public void process(com.opensymphony.module.sitemesh.html.Tag tag) - Specified by:
processin interfacecom.opensymphony.module.sitemesh.html.TagRule- Specified by:
processin classcom.opensymphony.module.sitemesh.html.BasicRule
-
getExtractedUrls
Description copied from interface:ImageProcessingRuleGets the set ofExportImageDescriptorrepresenting the image tag urls that were extracted during processing.- Specified by:
getExtractedUrlsin interfaceImageProcessingRule
-
setSettingsManager
-
setAttachmentUrlParser
-