Top Description Inners Fields Constructors Methods
javax.faces.component.html

public Class HtmlHead

extends UIOutput
Class Inheritance
Imports
java.io.IOException, java.util.ArrayList, .Arrays, .List, javax.faces.context.FacesContext, javax.el.MethodExpression, .ValueExpression

NONE

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static enum

Field Summary

Modifier and TypeField and Description
public static final String
COMPONENT_TYPE

Hides javax.faces.component.UIOutput.COMPONENT_TYPE.

The standard component type for this component.

private static final String
Inherited from javax.faces.component.UIOutput:
COMPONENT_FAMILY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

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.

getDir
()

Return the value of the dir property.

public String

Returns:

the property value

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

getLang
()

Return the value of the lang property.

public String

Returns:

the property value

Contents:

An XML Namespace to be passed through to the rendered element
getXmlns
()

Return the value of the xmlns property.

private void
public void
setDir(String
the new property value
dir
)

Set the value of the dir property.

public void
setLang(String
the new property value
lang
)

Set the value of the lang property.

public void
setXmlns(String
the new property value
xmlns
)

Set the value of the xmlns property.

Inherited from javax.faces.component.UIOutput:
clearInitialStategetConvertergetFamilygetLocalValuegetValuemarkInitialStateresetValuerestoreStatesaveStatesetConvertersetValue

Field Detail

COMPONENT_TYPEback to summary
public static final String COMPONENT_TYPE

Hides javax.faces.component.UIOutput.COMPONENT_TYPE.

The standard component type for this component.

OPTIMIZED_PACKAGEback to summary
private static final String OPTIMIZED_PACKAGE

Constructor Detail

HtmlHeadback to summary
public HtmlHead()

Method Detail

getDirback to summary
public String getDir()

Return the value of the dir property.

Returns:String

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.

getLangback to summary
public String getLang()

Return the value of the lang property.

Returns:String

the property value

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

getXmlnsback to summary
public String getXmlns()

Return the value of the xmlns property.

Returns:String

the property value

Contents:

An XML Namespace to be passed through to the rendered element
handleAttributeback to summary
private void handleAttribute(String name, Object value)
setDirback to summary
public void setDir(String dir)

Set the value of the dir property.

Parameters
dir:String

the new property value

setLangback to summary
public void setLang(String lang)

Set the value of the lang property.

Parameters
lang:String

the new property value

setXmlnsback to summary
public void setXmlns(String xmlns)

Set the value of the xmlns property.

Parameters
xmlns:String

the new property value

javax.faces.component.html back to summary

protected final Enum HtmlHead.PropertyKeys

extends Enum<HtmlHead.PropertyKeys>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final HtmlHead.PropertyKeys
public static final HtmlHead.PropertyKeys
pack-priv String
public static final HtmlHead.PropertyKeys

Constructor Summary

AccessConstructor and Description
private
PropertyKeys(String toString)

private

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.
public static HtmlHead.PropertyKeys
public static HtmlHead.PropertyKeys[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

dirback to summary
public static final HtmlHead.PropertyKeys dir
langback to summary
public static final HtmlHead.PropertyKeys lang
toStringback to summary
pack-priv String toString
xmlnsback to summary
public static final HtmlHead.PropertyKeys xmlns

Constructor Detail

PropertyKeysback to summary
private PropertyKeys(String toString)
PropertyKeysback to summary
private PropertyKeys()

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Enum.toString.

Doc from java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.

Returns:String

the name of this enum constant

valueOfback to summary
public static HtmlHead.PropertyKeys valueOf(String name)
valuesback to summary
public static HtmlHead.PropertyKeys[] values()