java.lang.Object
org.apache.wicket.markup.head.HeaderItem
org.apache.wicket.markup.head.StringHeaderItem
- All Implemented Interfaces:
Serializable
,IClusterable
- Direct Known Subclasses:
PageHeaderItem
Free form
HeaderItem
. No checks are performed on what is added to the header.- Author:
- papegaaij
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static StringHeaderItem
forString
(CharSequence string) Creates aStringHeaderItem
for the snippet.Iterable<?>
int
hashCode()
void
Renders theHeaderItem
to the response.toString()
Methods inherited from class org.apache.wicket.markup.head.HeaderItem
getDependencies, getProvidedResources
-
Constructor Details
-
StringHeaderItem
Construct.- Parameters:
string
-
-
-
Method Details
-
forString
Creates aStringHeaderItem
for the snippet.- Parameters:
string
- string to be rendered to head- Returns:
- A newly created
StringHeaderItem
.
-
getString
- Returns:
- the string that gets added to the header.
-
render
Description copied from class:HeaderItem
Renders theHeaderItem
to the response.- Specified by:
render
in classHeaderItem
-
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.
-
toString
-
equals
-
hashCode
-