Class HtmlItalic

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

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

  • Constructor Details

    • HtmlItalic

      HtmlItalic(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

    • 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
    • isEmptyXmlTagExpanded

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