Class HtmlHead

All Implemented Interfaces:
PartialStateHolder, StateHolder, TransientStateHolder, ValueHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder, EventListener

public class HtmlHead
extends UIOutput
NONE

By default, the rendererType property must be set to "jakarta.faces.Head". This value can be changed by calling the setRendererType() method.

  • Field Details

  • Constructor Details

  • Method Details

    • getDir

      public String getDir()

      Return the value of the dir property.

      Returns:
      the property value

      Contents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). These attributes are case sensitive when rendering to XHTML, so care must be taken to have the correct case.

    • setDir

      public void setDir​(String dir)

      Set the value of the dir property.

      Parameters:
      dir - the new property value
    • getLang

      public String getLang()

      Return the value of the lang property.

      Returns:
      the property value

      Contents: Code describing the language used in the generated markup for this component.

    • setLang

      public void setLang​(String lang)

      Set the value of the lang property.

      Parameters:
      lang - the new property value
    • getXmlns

      public String getXmlns()

      Return the value of the xmlns property.

      Returns:
      the property value

      Contents:

      An XML Namespace to be passed through to the rendered element
    • setXmlns

      public void setXmlns​(String xmlns)

      Set the value of the xmlns property.

      Parameters:
      xmlns - the new property value