当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
HeaderContentMetaData - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.core.metadata
Class HeaderContentMetaData
java.lang.Object
org.jboss.portal.common.plugin.PluginMetaData
org.jboss.portal.core.metadata.HeaderContentMetaData
- All Implemented Interfaces:
- MetaData
- public class HeaderContentMetaData
- extends PluginMetaData
Meta data to describe a portlet's data to inject into the header of the page.
A portlet can define additional script or link tags in its descriptor (jboss-portlet.xml) that will be injected
into the head (via a separtate jsp tag)
- See Also:
HeaderContentPlugin
,
PluginMetaData
Method Summary |
java.util.List |
getHeaderElements()
Get the list of header elements to inject into the header |
void |
setHeaderElements(java.util.List headerElements)
Set the list of header elements of type HeaderContentPlugin.HeaderElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderContentMetaData
public HeaderContentMetaData()
setHeaderElements
public void setHeaderElements(java.util.List headerElements)
- Set the list of header elements of type HeaderContentPlugin.HeaderElement
- Parameters:
headerElements
- a list of header elements (script and link tags) to inject into the header- See Also:
HeaderContentPlugin.HeaderElement
getHeaderElements
public java.util.List getHeaderElements()
- Get the list of header elements to inject into the header
- Returns:
- a list of header elements
- See Also:
HeaderContentPlugin.HeaderElement