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
AHeaderItem
that renders a CSS reference.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractCssReferenceHeaderItem(String media, String rel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
CrossOrigin
getCrossOrigin()
String
getIntegrity()
String
getMedia()
String
getRel()
int
hashCode()
protected void
internalRenderCSSReference(Response response, String url)
AbstractCssReferenceHeaderItem
setCrossOrigin(CrossOrigin crossOrigin)
AbstractCssReferenceHeaderItem
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 Detail
-
AbstractCssReferenceHeaderItem
public AbstractCssReferenceHeaderItem(String media, String rel)
-
-
Method Detail
-
getCrossOrigin
public CrossOrigin getCrossOrigin()
- Specified by:
getCrossOrigin
in interfaceISubresourceHeaderItem
-
setCrossOrigin
public AbstractCssReferenceHeaderItem setCrossOrigin(CrossOrigin crossOrigin)
- Specified by:
setCrossOrigin
in interfaceISubresourceHeaderItem
-
getIntegrity
public String getIntegrity()
- Specified by:
getIntegrity
in interfaceISubresourceHeaderItem
-
setIntegrity
public AbstractCssReferenceHeaderItem setIntegrity(String integrity)
- Specified by:
setIntegrity
in interfaceISubresourceHeaderItem
-
internalRenderCSSReference
protected final void internalRenderCSSReference(Response response, String url)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCssHeaderItem
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCssHeaderItem
-
-