Class IFrameTagHandler

All Implemented Interfaces:
HTMLContentProvider, PageComponentProvider, TagHandler

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

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

See Also:
  • Constructor Details

    • IFrameTagHandler

      public IFrameTagHandler()
  • Method Details

    • getRawSrc

      public String getRawSrc()
    • isRawSrcAbsolute

      public boolean isRawSrcAbsolute()
    • setNormalizationPrefix

      public void setNormalizationPrefix(String normalizationPrefix)
    • isNormalizationRequired

      public boolean isNormalizationRequired()
    • setNormalizationRequired

      public void setNormalizationRequired(boolean normalizationRequired)
    • beginHandling

      public void beginHandling(String uri, String localName, String qName, Attributes atts)
      Description copied from interface: TagHandler
      Callback to signal the start of handling giving the tag handler a chance for running intialization routines.

      TagHandlers are registered against tag+attribute combination and are invoked by the HTMLContentHandler as and when it encounters a tag matching the tag attribute combination the tag handler is registered with.

      Specified by:
      beginHandling in interface TagHandler
      Overrides:
      beginHandling in class DefaultTagHandler
      Parameters:
      uri -
      localName -
      qName -
      atts -