Package org.apache.wicket.markup.head
Class NoHeaderItem
- java.lang.Object
-
- org.apache.wicket.markup.head.HeaderItem
-
- org.apache.wicket.markup.head.NoHeaderItem
-
- All Implemented Interfaces:
Serializable
,IClusterable
public class NoHeaderItem extends HeaderItem
HeaderItem
that is not rendered.- Author:
- papegaaij
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoHeaderItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoHeaderItem
get()
Iterable<?>
getRenderTokens()
void
render(Response response)
Renders theHeaderItem
to the response.-
Methods inherited from class org.apache.wicket.markup.head.HeaderItem
getDependencies, getProvidedResources
-
-
-
-
Constructor Detail
-
NoHeaderItem
public NoHeaderItem()
-
-
Method Detail
-
get
public static NoHeaderItem get()
- Returns:
- The singleton instance of
NoHeaderItem
-
render
public void render(Response response)
Description copied from class:HeaderItem
Renders theHeaderItem
to the response.- Specified by:
render
in classHeaderItem
-
getRenderTokens
public Iterable<?> 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.
-
-