Class HtmlHead

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

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

  • Method Details

    • getProfileAttribute

      public final String getProfileAttribute()
      Returns the value of the attribute profile. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute profile or an empty string if that attribute isn't defined
    • mayBeDisplayed

      public boolean mayBeDisplayed()
      Returns true if nodes of this type can ever be displayed, false otherwise. Examples of nodes that can never be displayed are <head>, <meta>, <script>, etc.
      Overrides:
      mayBeDisplayed in class DomNode
      Returns:
      true if nodes of this type can ever be displayed, false otherwise
      See Also:
    • 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