Class 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.

    • Constructor Detail

      • HtmlImageProcessingRule

        public HtmlImageProcessingRule()
    • Method Detail

      • process

        public void process​(com.opensymphony.module.sitemesh.html.Tag tag)
        Specified by:
        process in interface com.opensymphony.module.sitemesh.html.TagRule
        Specified by:
        process in class com.opensymphony.module.sitemesh.html.BasicRule
      • setSettingsManager

        public void setSettingsManager​(SettingsManager settingsManager)
      • setAttachmentUrlParser

        public void setAttachmentUrlParser​(AttachmentUrlParser attachmentUrlParser)