Class ResourceReference

java.lang.Object
org.apache.wicket.request.resource.ResourceReference
All Implemented Interfaces:
Serializable, IClusterable
Direct Known Subclasses:
ConcatResourceBundleReference, ContextRelativeResourceReference, FileSystemResourceReference, PackageResourceReference, ResourceBundleReference, ResourceReference.LambdaResourceReference, SharedResourceReference, TextTemplateResourceReference, UrlResourceReference

public abstract class ResourceReference extends Object implements IClusterable
Reference to a resource. Can be used to reference global resources.

Even though resource reference is just a factory for resources, it still needs to be identified by a globally unique identifier, combination of scope and name. Those are used to generate URLs for resource references. locale, style and variation are optional fields to allow having specific references for individual locales, styles and variations.

Author:
Matej Knopp, Juergen Donnerstag
See Also: