java.lang.Object
org.apache.wicket.markup.head.HeaderItem
org.apache.wicket.markup.head.PriorityHeaderItem
- All Implemented Interfaces:
Serializable
,IWrappedHeaderItem
,IClusterable
HeaderItem
that has priority over other header items. PriorityHeaderItem
s
rendered parent-first at the beginning of the header. Dependencies of a
PriorityHeaderItem
also have priority.- Author:
- papegaaij
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Iterable<? extends HeaderItem>
Iterable<?>
int
hashCode()
void
Renders theHeaderItem
to the response.toString()
wrap
(HeaderItem item) Wraps an existing HeaderItem
-
Constructor Details
-
PriorityHeaderItem
Construct.- Parameters:
wrapped
- the actualHeaderItem
that should have priority
-
-
Method Details
-
getWrapped
- Specified by:
getWrapped
in interfaceIWrappedHeaderItem
- Returns:
- the actual
HeaderItem
-
wrap
Description copied from interface:IWrappedHeaderItem
Wraps an existing HeaderItem- Specified by:
wrap
in interfaceIWrappedHeaderItem
- Parameters:
item
- The item to wrap- Returns:
- the wrapped header item
-
getRenderTokens
- Specified by:
getRenderTokens
in classHeaderItem
- Returns:
- The tokens this
HeaderItem
can be identified by. If any of the tokens has already been rendered, thisHeaderItem
will not be rendered.
-
render
Description copied from class:HeaderItem
Renders theHeaderItem
to the response.- Specified by:
render
in classHeaderItem
-
getDependencies
- Overrides:
getDependencies
in classHeaderItem
- Returns:
- The dependencies this
HeaderItem
has. Dependencies will always be rendered before the item itself.
-
getProvidedResources
- Overrides:
getProvidedResources
in classHeaderItem
- Returns:
- The resources this
HeaderItem
provides. As these resources are provided by this item, they will no longer be rendered.
-
equals
-
hashCode
-
toString
-