java.lang.Object
org.apache.wicket.markup.head.HeaderItem
org.apache.wicket.markup.head.filter.FilteredHeaderItem
- All Implemented Interfaces:
Serializable
,IWrappedHeaderItem
,IClusterable
HeaderItem
that specifies the filter it belongs to. Dependencies of a
FilteredHeaderItem
belong to the same filter. If used in conjunction with
JavaScriptFilteredIntoFooterHeaderResponse
, use
DEFAULT_HEADER_FILTER_NAME
to render
items in the header.- Author:
- papegaaij
- See Also:
-
Constructor Summary
Constructors -
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
-
FilteredHeaderItem
Construct.- Parameters:
wrapped
- the actualHeaderItem
filterName
- the name of the filter this item belongs to
-
-
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
-
getFilterName
- Returns:
- the name of the filter this item belongs to
-
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.
-
hashCode
-
equals
-
toString
-