Class NuxeoWroModelFactory
java.lang.Object
org.nuxeo.ecm.web.resources.wro.factory.NuxeoWroModelFactory
- All Implemented Interfaces:
ro.isdc.wro.model.factory.WroModelFactory
,ro.isdc.wro.util.ObjectFactory<ro.isdc.wro.model.WroModel>
- Direct Known Subclasses:
NuxeoWroPageModelFactory
public class NuxeoWroModelFactory
extends Object
implements ro.isdc.wro.model.factory.WroModelFactory
Generates a
WroModel
using contributions to the WebResourceManager
service.
Maps ResourceBundle
elements to wro groups, and map their ordered resources (with resolved dependencies) to
wro resources.
- Since:
- 7.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionro.isdc.wro.model.WroModel
create()
void
destroy()
protected ro.isdc.wro.model.resource.Resource
toWroResource
(String bundle, Resource resource) protected ro.isdc.wro.model.resource.ResourceType
toWroResourceType
(String type)
-
Constructor Details
-
NuxeoWroModelFactory
public NuxeoWroModelFactory()
-
-
Method Details
-
create
public ro.isdc.wro.model.WroModel create()- Specified by:
create
in interfacero.isdc.wro.util.ObjectFactory<ro.isdc.wro.model.WroModel>
-
toWroResource
-
toWroResourceType
-
destroy
public void destroy()- Specified by:
destroy
in interfacero.isdc.wro.model.factory.WroModelFactory
-