Class HtmlTitle

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

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

  • Constructor Details

    • HtmlTitle

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

    • setNodeValue

      public void setNodeValue(String message)
      Allows the text value for the title element be replaced.
      Specified by:
      setNodeValue in interface Node
      Overrides:
      setNodeValue in class DomElement
    • 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:
      false by default
    • 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