|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.complex.ValueBindingObjectImpl com.ibm.xsp.resource.AbstractResource com.ibm.xsp.resource.MetaDataResource
public class MetaDataResource
Corresponds to the xp:metaData
tag which defines a resource
that includes a meta-data entry in the head
Field Summary | |
---|---|
static java.lang.String |
RENDERER_TYPE
|
Fields inherited from class com.ibm.xsp.resource.AbstractResource |
---|
FAMILY |
Constructor Summary | |
---|---|
MetaDataResource()
Default Constructor |
Method Summary | |
---|---|
void |
addAttr(Attr attr)
Add an Attr , to appear as an attribute in the HTML output of this control
or object tag. |
java.util.List<Attr> |
getAttrs()
The extra attributes to be output on the base element at the root of this control or object tag. |
java.lang.String |
getContent()
The HTML "meta" tag "content" attribute. |
java.lang.String |
getDir()
Returns the meta tag dir |
java.lang.String |
getHttpEquiv()
Returns the meta tag httpEquiv |
java.lang.String |
getLang()
Returns the meta tag lang |
java.lang.String |
getName()
Returns the META tag name. |
java.lang.String |
getScheme()
Returns the meta tag scheme |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAttrs(java.util.List<Attr> attrs)
This method is not used by the XPage generated .java file - instead the addAttr(Attr) method is used to add attributes to the list. |
void |
setContent(java.lang.String content)
Sets the META tag content |
void |
setDir(java.lang.String dir)
Sets the META tag dir |
void |
setHttpEquiv(java.lang.String httpEquiv)
Sets the httpEquiv |
void |
setLang(java.lang.String lang)
Sets the META tag lang |
void |
setName(java.lang.String name)
Sets the META tag name to set. |
void |
setScheme(java.lang.String scheme)
Sets the META tag scheme |
java.lang.String |
toString()
|
Methods inherited from class com.ibm.xsp.resource.AbstractResource |
---|
encodeObject, equals, getFamily, getRendererType, getServerResourceContents, getUniqueId, isRendered, loadContents, setRendered, setRendererType |
Methods inherited from class com.ibm.xsp.complex.ValueBindingObjectImpl |
---|
getComponent, getFacesContext, getValueBinding, isTransient, setComponent, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.xsp.complex.EncodableObject |
---|
encodeObject |
Field Detail |
---|
public static final java.lang.String RENDERER_TYPE
Constructor Detail |
---|
public MetaDataResource()
Method Detail |
---|
public java.lang.String getName()
name
.public void setName(java.lang.String name)
name
- public java.lang.String getContent()
AbstractResource#getContents()
.)
content
attributepublic void setContent(java.lang.String content)
content
content
- public java.lang.String getScheme()
scheme
public void setScheme(java.lang.String scheme)
scheme
scheme
- public java.lang.String getHttpEquiv()
httpEquiv
httpEquiv
public void setHttpEquiv(java.lang.String httpEquiv)
httpEquiv
httpEquiv
- public java.lang.String getLang()
lang
lang
public void setLang(java.lang.String lang)
lang
lang
- public java.lang.String getDir()
dir
dir
public void setDir(java.lang.String dir)
dir
dir
- public java.util.List<Attr> getAttrs()
null
. The addAttr(Attr)
method should be used to add an Attr
.
getAttrs
in interface FacesAttrsObject
public void addAttr(Attr attr)
Attr
, to appear as an attribute in the HTML output of this control
or object tag.
addAttr
in interface FacesAttrsObject
action
- public void setAttrs(java.util.List<Attr> attrs)
addAttr(Attr)
method is used to add attributes to the list.
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class AbstractResource
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class AbstractResource
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |