Class HtmlHead

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.Node

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

      • TAG_NAME

        public static final java.lang.String TAG_NAME
        The HTML tag represented by this element.
        See Also:
        Constant Field Values
    • Method Detail

      • getProfileAttribute

        public final java.lang.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:
        DomNode.isDisplayed()