Module org.apache.wicket.core
Package org.apache.wicket.markup.head
Class AbstractCssReferenceHeaderItem
java.lang.Object
org.apache.wicket.markup.head.HeaderItem
org.apache.wicket.markup.head.AbstractCspHeaderItem
org.apache.wicket.markup.head.CssHeaderItem
org.apache.wicket.markup.head.AbstractCssReferenceHeaderItem
- All Implemented Interfaces:
Serializable
,ISubresourceHeaderItem
,IClusterable
- Direct Known Subclasses:
CssReferenceHeaderItem
,CssUrlReferenceHeaderItem
public abstract class AbstractCssReferenceHeaderItem
extends CssHeaderItem
implements ISubresourceHeaderItem
A
HeaderItem
that renders a CSS reference.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getMedia()
getRel()
int
hashCode()
protected final void
internalRenderCSSReference
(Response response, String url) setCrossOrigin
(CrossOrigin crossOrigin) setIntegrity
(String integrity) Methods inherited from class org.apache.wicket.markup.head.CssHeaderItem
forCSS, forReference, forReference, forReference, forReference, forUrl, forUrl, forUrl, getId, setId
Methods inherited from class org.apache.wicket.markup.head.AbstractCspHeaderItem
getNonce, setNonce
Methods inherited from class org.apache.wicket.markup.head.HeaderItem
getDependencies, getProvidedResources, getRenderTokens, render
-
Constructor Details
-
AbstractCssReferenceHeaderItem
-
-
Method Details
-
getCrossOrigin
- Specified by:
getCrossOrigin
in interfaceISubresourceHeaderItem
-
setCrossOrigin
- Specified by:
setCrossOrigin
in interfaceISubresourceHeaderItem
-
getMedia
- Returns:
- the media type for this CSS ("print", "screen", etc.)
-
getRel
- Returns:
- the rel attribute content
-
getIntegrity
- Specified by:
getIntegrity
in interfaceISubresourceHeaderItem
-
setIntegrity
- Specified by:
setIntegrity
in interfaceISubresourceHeaderItem
-
internalRenderCSSReference
-
equals
- Overrides:
equals
in classCssHeaderItem
-
hashCode
- Overrides:
hashCode
in classCssHeaderItem
-