Package org.htmlunit

Interface FrameContentHandler


public interface FrameContentHandler
Interface to customize the handling of frame content. At the moment this only enables the user to make a decision to load the frame content or not.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called to decide if the content (referred from the source attribute) should be loaded or not.
  • Method Details

    • loadFrameDocument

      boolean loadFrameDocument(BaseFrameElement baseFrameElement)
      Called to decide if the content (referred from the source attribute) should be loaded or not.
      Parameters:
      baseFrameElement - the element that likes to load the content
      Returns:
      true if the content should be loaded