Class HtmlEmbed

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

public class HtmlEmbed extends HtmlElement
Wrapper for the HTML element "embed".
See Also:
  • Field Details

  • Constructor Details

    • HtmlEmbed

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

    • saveAs

      public void saveAs(File file) throws IOException
      Saves this content as the specified file.
      Parameters:
      file - the file to save to
      Throws:
      IOException - if an IO error occurs
    • 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