|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.core.plugins.page.HeaderContentPlugin
Plugin (for the portlet container) to add declarative header content injection to portlets.
This plugin allows a portlet to declare header-content data to be injected into the page header (via a jsp tag).
AdapterPlugin
,
HeaderContentMetaData
Nested Class Summary | |
static class |
HeaderContentPlugin.HeaderElement
representation of a header element. |
Constructor Summary | |
HeaderContentPlugin()
|
Method Summary | |
void |
destroy()
|
java.lang.Class |
getAdaptedClass()
Return the classname adapted by the adapter. |
java.lang.Object |
getAdapter()
Return the adapter instance. |
java.lang.String |
getContent()
Get the content to inject into the header. |
java.util.List |
getHeaderElements()
Get the list of header elements to inject. |
void |
init(PluginContext pluginContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HeaderContentPlugin()
Method Detail |
public java.lang.Class getAdaptedClass()
AdapterPlugin
getAdaptedClass
in interface AdapterPlugin
org.jboss.portal.common.plugin.AdapterPlugin#getAdaptedClassName()
public java.lang.Object getAdapter()
AdapterPlugin
getAdapter
in interface AdapterPlugin
AdapterPlugin.getAdapter()
public void init(PluginContext pluginContext)
pluginContext
- Plugin.init(PluginContext)
public void destroy()
Plugin.destroy()
public java.util.List getHeaderElements()
public java.lang.String getContent()
The content is built from the list of header elements. This method is ment to be a convenience method. It allows to directly get the stringified content, instead of iterating through the header elements individually.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |