ro.isdc.wro.extensions.model.factory
Class JsonModelFactory

java.lang.Object
  extended by ro.isdc.wro.model.factory.AbstractWroModelFactory
      extended by 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.

Since:
1.3.6
Author:
Alex Objelean

Constructor Summary
JsonModelFactory()
           
 
Method Summary
 WroModel create()
          
protected  String getDefaultModelFilename()
          
 
Methods inherited from class ro.isdc.wro.model.factory.AbstractWroModelFactory
destroy, getModelResourceAsStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonModelFactory

public JsonModelFactory()
Method Detail

create

public WroModel create()


getDefaultModelFilename

protected String getDefaultModelFilename()

Specified by:
getDefaultModelFilename in class AbstractWroModelFactory


Copyright © 2008-2012. All Rights Reserved.