ro.isdc.wro.model.factory
Class XmlModelFactory

java.lang.Object
  extended by ro.isdc.wro.model.factory.AbstractWroModelFactory
      extended by ro.isdc.wro.model.factory.XmlModelFactory
All Implemented Interfaces:
WroModelFactory, ObjectFactory<WroModel>

public class XmlModelFactory
extends AbstractWroModelFactory

Model factory implementation. Creates a WroModel object, based on an xml. This xml contains the description of all groups.

Author:
Alex Objelean

Constructor Summary
XmlModelFactory()
           
 
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

XmlModelFactory

public XmlModelFactory()
Method Detail

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-2011. All Rights Reserved.