com.ibm.xsp.resource
Class GenericHeadResource
java.lang.Object
com.ibm.xsp.complex.ValueBindingObjectImpl
com.ibm.xsp.resource.AbstractResource
com.ibm.xsp.resource.GenericHeadResource
- All Implemented Interfaces:
- ComponentBindingObject, EncodableObject, ValueBindingObject, Resource, javax.faces.component.StateHolder
public class GenericHeadResource
- extends AbstractResource
- implements EncodableObject
Corresponds to the xp:headTag
tag and is a
generic resource for inserting a tag in the HEAD part of the page.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RENDERER_TYPE
public static final java.lang.String RENDERER_TYPE
- See Also:
- Constant Field Values
GenericHeadResource
public GenericHeadResource()
- Default Constructor
getTagName
public java.lang.String getTagName()
- Returns the
tagName
attribute.
- Returns:
- tagName
setTagName
public void setTagName(java.lang.String tagName)
- The
tagName
value to set.
- Parameters:
tagName
-
addAttribute
public void addAttribute(Parameter attribute)
- Add an attribute
- Parameters:
attribute
- the attribute to add to the list
getAttributes
public java.util.List<Parameter> getAttributes()
- Return the list of attribute
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