Class HtmlTitle

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

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

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

      public String getText()
      Returns the text attribute.
      Returns:
      the text attribute
    • setText

      public void setText(String text)
      Sets the text attribute.
      Parameters:
      text - the text attribute