Class CssResourceReference
- java.lang.Object
-
- org.apache.wicket.request.resource.ResourceReference
-
- org.apache.wicket.request.resource.PackageResourceReference
-
- org.apache.wicket.request.resource.CssResourceReference
-
- All Implemented Interfaces:
Serializable
,IClusterable
public class CssResourceReference extends PackageResourceReference
Static resource reference for css resources. The resources are filtered (stripped comments and whitespace) if there is registered compressor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.ResourceReference
ResourceReference.Key, ResourceReference.LambdaResourceReference, ResourceReference.UrlAttributes
-
-
Constructor Summary
Constructors Constructor Description CssResourceReference(Class<?> scope, String name)
Construct.CssResourceReference(Class<?> scope, String name, Locale locale, String style, String variation)
Construct.CssResourceReference(ResourceReference.Key key)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CssPackageResource
getResource()
Returns the resource.-
Methods inherited from class org.apache.wicket.request.resource.PackageResourceReference
getMinifiedName, getUrlAttributes, readBuffered, removeCompressFlagIfUnnecessary
-
Methods inherited from class org.apache.wicket.request.resource.ResourceReference
canBeRegistered, equals, getDependencies, getExtension, getKey, getLocale, getName, getScope, getStyle, getVariation, hashCode, of, of, toString
-
-
-
-
Constructor Detail
-
CssResourceReference
public CssResourceReference(Class<?> scope, String name, Locale locale, String style, String variation)
Construct.- Parameters:
scope
- mandatory parametername
- mandatory parameterlocale
- resource localestyle
- resource stylevariation
- resource variation
-
CssResourceReference
public CssResourceReference(Class<?> scope, String name)
Construct.- Parameters:
scope
- mandatory parametername
- mandatory parameter
-
CssResourceReference
public CssResourceReference(ResourceReference.Key key)
Constructor.- Parameters:
key
-
-
-
Method Detail
-
getResource
public CssPackageResource getResource()
Description copied from class:ResourceReference
Returns the resource.- Overrides:
getResource
in classPackageResourceReference
- Returns:
- resource instance
- See Also:
ResourceReference.getResource()
-
-