| |
|
| com.sun.rave.web.ui.component.MetaBase
All known Subclasses: com.sun.rave.web.ui.component.Meta,
MetaBase | abstract public class MetaBase extends javax.faces.component.UIComponentBase (Code) | | 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!
|
MetaBase | public MetaBase()(Code) | | Construct a new MetaBase .
|
getContent | public String getContent()(Code) | | The content attribute is used to specify the data to associate with a
name attribute or httpEquiv attribute in the ui:meta tag.
|
getFamily | public String getFamily()(Code) | | 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.
|
getHttpEquiv | public String getHttpEquiv()(Code) | | 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.
|
getName | public String getName()(Code) | | 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.
|
getScheme | public String getScheme()(Code) | | Defines a format to be used to interpret the value of the content
attribute.
|
restoreState | public void restoreState(FacesContext _context, Object _state)(Code) | | Restore the state of this component.
|
saveState | public Object saveState(FacesContext _context)(Code) | | Save the state of this component.
|
setContent | public void setContent(String content)(Code) | | 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: MetaBase.getContent() |
setHttpEquiv | public void setHttpEquiv(String httpEquiv)(Code) | | 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: MetaBase.getHttpEquiv() |
setName | public void setName(String name)(Code) | | 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: MetaBase.getName() |
|
|
|