Render the markup for a <head> element.
Decode Behavior
No action is required during decode for this renderer.
Encode Behavior
Render the starting <head> element tag. Any attributes declared on the element must be passed through
unmodified to the rendered output.
Just before rendering the
closing </head> element tag, render any resources that have been targeted
for this "head" element:
UIViewRoot instance.List of component resources targeted for
this "head" element with a call to UIViewRoot.getComponentResources()
with the String "head" as the argument.List of UIComponent instances
and call encodeAll on each UIComponent instance.
Any attributes declared on the element must be passed through unmodified to the rendered output.
</head> element tag.
This renderer is not responsible for rendering its children.
Attributes with a pass-through value of
true are not interpreted by the renderer and are passed
straight through to the rendered markup, without checking for validity. Attributes with a
pass-through value of false are interpreted
by the renderer, and may or may not be checked for validity by the renderer.
| Attributes | |||||
| attribute-name | pass-through | attribute-class | description | default-value | |
|---|---|---|---|---|---|
dir
|
true | java.lang.String |
Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). | undefined | |
lang
|
true | java.lang.String |
Code describing the language used in the generated markup for this component. | undefined | |