com.sun.rave.web.ui.component
Class MetaBase

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by com.sun.rave.web.ui.component.MetaBase
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
Meta

public abstract class MetaBase
extends javax.faces.component.UIComponentBase

Use the ui:meta tag to create an HTML <meta> element in the rendered HTML page. The <meta> element provides meta-information about your page, such as descriptions and keywords for search engines and refresh rates.  The ui:meta tag must be inside a ui:head tag.
 

HTML Elements and Layout

The rendered HTML page contains an HTML <meta> tag and its associated attributes.

Theme Identifiers

None.

Client Side Javascript Functions

None.

Example

Example 1: Create a Meta tag

....
<ui:head title="meta example" >
    <ui:meta httpEquiv="refresh" content="5" />
</ui:head>
....

Auto-generated component class. Do NOT modify; all changes will be lost!


Field Summary
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
MetaBase()
          Construct a new MetaBase.
 
Method Summary
 java.lang.String getContent()
          The content attribute is used to specify the data to associate with a name attribute or httpEquiv attribute in the ui:meta tag.
 java.lang.String getFamily()
          Return the identifier of the component family to which this component belongs.
 java.lang.String getHttpEquiv()
          The httpEquiv attribute is used to specify a value for the http-equiv attribute of an HTML Meta element.
 java.lang.String getName()
          The identifier that is assigned to a property in the meta element.
 java.lang.String getScheme()
          Defines a format to be used to interpret the value of the content attribute.
 void restoreState(javax.faces.context.FacesContext _context, java.lang.Object _state)
          Restore the state of this component.
 java.lang.Object saveState(javax.faces.context.FacesContext _context)
          Save the state of this component.
 void setContent(java.lang.String content)
          The content attribute is used to specify the data to associate with a name attribute or httpEquiv attribute in the ui:meta tag.
 void setHttpEquiv(java.lang.String httpEquiv)
          The httpEquiv attribute is used to specify a value for the http-equiv attribute of an HTML Meta element.
 void setName(java.lang.String name)
          The identifier that is assigned to a property in the meta element.
 void setScheme(java.lang.String scheme)
          Defines a format to be used to interpret the value of the content attribute.
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaBase

public MetaBase()

Construct a new MetaBase.

Method Detail

getFamily

public java.lang.String getFamily()

Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.

Specified by:
getFamily in class javax.faces.component.UIComponent

getContent

public java.lang.String getContent()

The content attribute is used to specify the data to associate with a name attribute or httpEquiv attribute in the ui:meta tag.


setContent

public void setContent(java.lang.String content)

The content attribute is used to specify the data to associate with a name attribute or httpEquiv attribute in the ui:meta tag.

See Also:
getContent()

getHttpEquiv

public java.lang.String getHttpEquiv()

The httpEquiv attribute is used to specify a value for the http-equiv attribute of an HTML Meta element. The http-equiv attribute specifies HTTP properties that the web server can use in the HTTP response header.


setHttpEquiv

public void setHttpEquiv(java.lang.String httpEquiv)

The httpEquiv attribute is used to specify a value for the http-equiv attribute of an HTML Meta element. The http-equiv attribute specifies HTTP properties that the web server can use in the HTTP response header.

See Also:
getHttpEquiv()

getName

public java.lang.String getName()

The identifier that is assigned to a property in the meta element. The content attribute provides the actual content of the property that is identified by the name attribute.


setName

public void setName(java.lang.String name)

The identifier that is assigned to a property in the meta element. The content attribute provides the actual content of the property that is identified by the name attribute.

See Also:
getName()

getScheme

public java.lang.String getScheme()

Defines a format to be used to interpret the value of the content attribute.


setScheme

public void setScheme(java.lang.String scheme)

Defines a format to be used to interpret the value of the content attribute.

See Also:
getScheme()

restoreState

public void restoreState(javax.faces.context.FacesContext _context,
                         java.lang.Object _state)

Restore the state of this component.

Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext _context)

Save the state of this component.

Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase