Class ResourceReferenceRegistry.DefaultResourceReferenceFactory
java.lang.Object
org.apache.wicket.request.resource.ResourceReferenceRegistry.DefaultResourceReferenceFactory
- All Implemented Interfaces:
IResourceReferenceFactory
- Enclosing class:
- ResourceReferenceRegistry
public static class ResourceReferenceRegistry.DefaultResourceReferenceFactory
extends Object
implements IResourceReferenceFactory
A simple implementation of
IResourceReferenceFactory
that creates
PackageResourceReference
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new instance of ResourceReference with the given request attributes
-
Constructor Details
-
DefaultResourceReferenceFactory
public DefaultResourceReferenceFactory()
-
-
Method Details
-
create
Description copied from interface:IResourceReferenceFactory
Creates a new instance of ResourceReference with the given request attributes- Specified by:
create
in interfaceIResourceReferenceFactory
- Parameters:
key
- The object that brings the request attributes- Returns:
- a ResourceReference or
null
if the factory cannot create such with the given request attributes
-