- Direct Known Subclasses:
- FaviconContributor, GoogleChartsContributor, JavascriptContributor, JavaScriptletContributor, ThemedJavascriptContributor
public abstract class HeaderContributor
extends Object
A header contributor can be registered by nodes to cause something to
be generated at the time that the page HEAD is rendered. A header
contributor typically contains things like Javascript modules to load or
stylesheets to use. The actual contribution to the header is done at rendering
time, so the content can be dynamically determined.
Each header contributor must implement full equality comparison semantics in such
a way that when a header contributor for the same contribution is added it can be
dropped. This is needed for instance when adding Javascript modules; if 15 components
all need the same .js file it needs to be added only once, not 15 times...
- Author:
- Frits Jalvingh
Created on Aug 17, 2007