org.apache.myfaces.trinidad.component.html
Class HtmlHtml

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
          extended by org.apache.myfaces.trinidad.component.UIXComponentBase
              extended by org.apache.myfaces.trinidad.component.html.HtmlHtml
All Implemented Interfaces:
javax.faces.component.StateHolder

public class HtmlHtml
extends UIXComponentBase

The html tag generates the <html> element for an HTML page. It will automatically generate "locale" and "dir" attributes based on the current locale.

Events:

Type Phases Description
org.apache.myfaces.trinidad.event.AttributeChangeEvent Invoke Application
Apply Request Values
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String MODE_DEFAULT
           
static PropertyKey MODE_KEY
           
static java.lang.String MODE_QUIRKS
           
static java.lang.String MODE_STRICT
           
static FacesBean.Type TYPE
           
 
Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Constructor Summary
  HtmlHtml()
          Construct an instance of the HtmlHtml.
protected HtmlHtml(java.lang.String rendererType)
          Construct an instance of the HtmlHtml.
 
Method Summary
protected  FacesBean.Type getBeanType()
           
 java.lang.String getFamily()
           
 java.lang.String getMode()
          Gets Set if the page should render in default standards mode, quirks mode, or strict mode.
 void setMode(java.lang.String mode)
          Sets Set if the page should render in default standards mode, quirks mode, or strict mode.
 
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
addAttributeChange, addAttributeChangeListener, addFacesListener, broadcast, broadcastToMethodBinding, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getLocalClientId, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MODE_DEFAULT

public static final java.lang.String MODE_DEFAULT
See Also:
Constant Field Values

MODE_STRICT

public static final java.lang.String MODE_STRICT
See Also:
Constant Field Values

MODE_QUIRKS

public static final java.lang.String MODE_QUIRKS
See Also:
Constant Field Values

TYPE

public static final FacesBean.Type TYPE

MODE_KEY

public static final PropertyKey MODE_KEY

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

HtmlHtml

public HtmlHtml()
Construct an instance of the HtmlHtml.


HtmlHtml

protected HtmlHtml(java.lang.String rendererType)
Construct an instance of the HtmlHtml.

Method Detail

getMode

public final java.lang.String getMode()
Gets Set if the page should render in default standards mode, quirks mode, or strict mode. Behavior of the modes are:

Returns:
the new mode value

setMode

public final void setMode(java.lang.String mode)
Sets Set if the page should render in default standards mode, quirks mode, or strict mode. Behavior of the modes are:

Parameters:
mode - the new mode value

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class UIXComponentBase

getBeanType

protected FacesBean.Type getBeanType()
Overrides:
getBeanType in class UIXComponentBase


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.