Class HtmlInlineFrame

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

public class HtmlInlineFrame extends BaseFrameElement
Wrapper for the HTML element "iframe".
See Also:
  • Field Details

  • Constructor Details

    • HtmlInlineFrame

      HtmlInlineFrame(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)
      Creates an instance of HtmlInlineFrame.
      Parameters:
      qualifiedName - the qualified name of the element type to instantiate
      page - the HtmlPage that contains this element
      attributes - the initial attributes
  • Method Details

    • isEmptyXmlTagExpanded

      protected boolean isEmptyXmlTagExpanded()
      Indicates if a node without children should be written in expanded form as XML (ie with closing tag rather than with "/>).
      Overrides:
      isEmptyXmlTagExpanded in class DomElement
      Returns:
      true to make generated XML readable as HTML
    • getDefaultStyleDisplay

      public HtmlElement.DisplayStyle getDefaultStyleDisplay()
      INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
      Returns the default display style.
      Overrides:
      getDefaultStyleDisplay in class HtmlElement
      Returns:
      the default display style