ro.isdc.wro.extensions.model.factory
Class GroovyModelFactory
java.lang.Object
ro.isdc.wro.model.factory.AbstractWroModelFactory
ro.isdc.wro.extensions.model.factory.GroovyModelFactory
- All Implemented Interfaces:
- WroModelFactory, ObjectFactory<WroModel>
public class GroovyModelFactory
- extends AbstractWroModelFactory
Creates WroModel
from a groovy DSL.
This class is thread-safe because it doesn't have any state.
- Since:
- 1.4.0
- Author:
- Romain Philibert
Field Summary |
static String |
ALIAS
Alias for this model factory used by provider. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALIAS
public static final String ALIAS
- Alias for this model factory used by provider.
- See Also:
- Constant Field Values
GroovyModelFactory
public GroovyModelFactory()
create
public WroModel create()
-
getDefaultModelFilename
protected String getDefaultModelFilename()
-
- Specified by:
getDefaultModelFilename
in class AbstractWroModelFactory
- Returns:
- the default name of the file describing the wro model.
Copyright © 2008-2013. All Rights Reserved.