com.ibm.xsp.resource
Class MetaDataResource

java.lang.Object
  extended by com.ibm.xsp.complex.ValueBindingObjectImpl
      extended by com.ibm.xsp.resource.AbstractResource
          extended by com.ibm.xsp.resource.MetaDataResource
All Implemented Interfaces:
ComponentBindingObject, EncodableObject, ValueBindingObject, Resource, javax.faces.component.StateHolder

public class MetaDataResource
extends AbstractResource
implements EncodableObject

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
 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 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, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.xsp.complex.EncodableObject
encodeObject
 

Field Detail

RENDERER_TYPE

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

MetaDataResource

public MetaDataResource()
Default Constructor

Method Detail

getName

public java.lang.String getName()
Returns the META tag name.

Returns:
Returns the META tag name.

setName

public void setName(java.lang.String name)
Sets the META tag name to set.

Parameters:
name -

getContent

public java.lang.String getContent()
The HTML "meta" tag "content" attribute. (Note, this method is getContent, different to the superclass AbstractResource#getContents().)

Returns:
Returns the meta tag content attribute

setContent

public void setContent(java.lang.String content)
Sets the META tag content

Parameters:
content -

getScheme

public java.lang.String getScheme()
Returns the meta tag scheme

Returns:
scheme

setScheme

public void setScheme(java.lang.String scheme)
Sets the META tag scheme

Parameters:
scheme -

getHttpEquiv

public java.lang.String getHttpEquiv()
Returns the meta tag httpEquiv

Returns:
httpEquiv

setHttpEquiv

public void setHttpEquiv(java.lang.String httpEquiv)
Sets the httpEquiv

Parameters:
httpEquiv -

getLang

public java.lang.String getLang()
Returns the meta tag lang

Returns:
lang

setLang

public void setLang(java.lang.String lang)
Sets the META tag lang

Parameters:
lang -

getDir

public java.lang.String getDir()
Returns the meta tag dir

Returns:
dir

setDir

public void setDir(java.lang.String dir)
Sets the META tag dir

Parameters:
dir -

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class AbstractResource

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class AbstractResource

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object