org.apache.wicket.velocity
Class VelocityHeaderContributor
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.apache.wicket.behavior.AbstractHeaderContributor
org.apache.wicket.velocity.VelocityHeaderContributor
- All Implemented Interfaces:
- Serializable, IBehavior, IComponentConfigurationBehavior, IClusterable, IHeaderContributor
public class VelocityHeaderContributor
- extends AbstractHeaderContributor
a simple header contributor that delegates to a List of VelocityContributor
- See Also:
- Serialized Form
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, beforeRender, bind, cleanup, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onException, onRendered, rendered |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityHeaderContributor
public VelocityHeaderContributor()
add
public VelocityHeaderContributor add(VelocityContributor velocityContributor)
- Adds a contributor.
- Parameters:
velocityContributor
-
- Returns:
- This for chaining
detach
public void detach(Component component)
- Description copied from interface:
IBehavior
- Allows the behavior to detach any state it has attached during request processing.
- Specified by:
detach
in interface IBehavior
- Overrides:
detach
in class AbstractBehavior
- Parameters:
component
- the component that initiates the detachment of this behavior- See Also:
AbstractBehavior.detach(org.apache.wicket.Component)
getHeaderContributors
public IHeaderContributor[] getHeaderContributors()
- Description copied from class:
AbstractHeaderContributor
- Gets the header contributors for this behavior.
- Specified by:
getHeaderContributors
in class AbstractHeaderContributor
- Returns:
- the header contributors; may return null if there are none
- See Also:
AbstractHeaderContributor.getHeaderContributors()
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.