Class ImgTagHandler

  • All Implemented Interfaces:
    HTMLContentProvider, PageComponentProvider, TagHandler

    public class ImgTagHandler
    extends DefaultTagHandler
    This tag handler is used to transform the src attribute within an img tag.

    Since the images should continue to be referable, their src attribute values are prepended with the current design path. Note that design path is where the images are dumped during the import process.

    See Also:
    ImgTagHandlerFactory
    • Field Detail

      • xssAPI

        public XSSAPI xssAPI
    • Constructor Detail

      • ImgTagHandler

        public ImgTagHandler()
    • Method Detail

      • getTitle

        public String getTitle()
      • getAlt

        public String getAlt()
      • getWidth

        public String getWidth()
      • getHeight

        public String getHeight()
      • getUsemap

        public String getUsemap()
      • getRawSrc

        public String getRawSrc()
      • isRawSrcAbsolute

        public boolean isRawSrcAbsolute()
      • setNormalizationPrefix

        public void setNormalizationPrefix​(String normalizationPrefix)
      • isNormalizationRequired

        public boolean isNormalizationRequired()
      • setNormalizationRequired

        public void setNormalizationRequired​(boolean normalizationRequired)
      • setXssAPI

        public void setXssAPI​(XSSAPI xssAPI)