public class CssResourceReference extends PackageResourceReference
ResourceReference.Key, ResourceReference.LambdaResourceReference, ResourceReference.UrlAttributes
Constructor and Description |
---|
CssResourceReference(Class<?> scope,
String name)
Construct.
|
CssResourceReference(Class<?> scope,
String name,
Locale locale,
String style,
String variation)
Construct.
|
CssResourceReference(ResourceReference.Key key)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CssPackageResource |
getResource()
Returns the resource.
|
getMinifiedName, getUrlAttributes, readBuffered, removeCompressFlagIfUnnecessary
canBeRegistered, equals, getDependencies, getExtension, getKey, getLocale, getName, getScope, getStyle, getVariation, hashCode, of, of, toString
public CssResourceReference(Class<?> scope, String name, Locale locale, String style, String variation)
scope
- mandatory parametername
- mandatory parameterlocale
- resource localestyle
- resource stylevariation
- resource variationpublic CssResourceReference(Class<?> scope, String name)
scope
- mandatory parametername
- mandatory parameterpublic CssResourceReference(ResourceReference.Key key)
key
- public CssPackageResource getResource()
ResourceReference
getResource
in class PackageResourceReference
ResourceReference.getResource()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.