ro.isdc.wro.extensions.model.factory
Class JsonModelFactory
java.lang.Object
ro.isdc.wro.model.factory.AbstractWroModelFactory
ro.isdc.wro.extensions.model.factory.JsonModelFactory
- All Implemented Interfaces:
- WroModelFactory, ObjectFactory<WroModel>
public class JsonModelFactory
- extends AbstractWroModelFactory
TODO: validate duplicate groups & null resource type
Creates WroModel
from a json.
This class is thread-safe because it doesn't have any state..
- Since:
- 1.3.6
- Author:
- Alex Objelean
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
JsonModelFactory
public JsonModelFactory()
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.