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 aWroModel
using contributions to theWebResourceManager
service.Maps
ResourceBundle
elements to wro groups, and map their ordered resources (with resolved dependencies) to wro resources.- Since:
- 7.3
-
-
Constructor Summary
Constructors Constructor Description NuxeoWroModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ro.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)
-
-
-
Method Detail
-
create
public ro.isdc.wro.model.WroModel create()
- Specified by:
create
in interfacero.isdc.wro.util.ObjectFactory<ro.isdc.wro.model.WroModel>
-
toWroResource
protected ro.isdc.wro.model.resource.Resource toWroResource(String bundle, Resource resource)
-
toWroResourceType
protected ro.isdc.wro.model.resource.ResourceType toWroResourceType(String type)
-
destroy
public void destroy()
- Specified by:
destroy
in interfacero.isdc.wro.model.factory.WroModelFactory
-
-