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 ofIResourceReferenceFactory
that createsPackageResourceReference
-
-
Constructor Summary
Constructors Constructor Description DefaultResourceReferenceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReference
create(ResourceReference.Key key)
Creates a new instance of ResourceReference with the given request attributes
-
-
-
Constructor Detail
-
DefaultResourceReferenceFactory
public DefaultResourceReferenceFactory()
-
-
Method Detail
-
create
public ResourceReference create(ResourceReference.Key key)
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
-
-