Class HtmlHead

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

public class HtmlHead extends UIOutput
NONE

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

  • Field Details

    • COMPONENT_TYPE

      public static final String COMPONENT_TYPE

      The standard component type for this component.

      See Also:
  • Constructor Details

    • HtmlHead

      public HtmlHead()
  • 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