org.riotfamily.forms.factory
Class AbstractFormRepository

java.lang.Object
  extended by org.riotfamily.forms.factory.AbstractFormRepository
All Implemented Interfaces:
FormRepository
Direct Known Subclasses:
XmlFormRepository

public abstract class AbstractFormRepository
extends Object
implements FormRepository


Constructor Summary
AbstractFormRepository()
           
 
Method Summary
 boolean containsForm(String id)
           
 Form createForm(String id)
           
 Class<?> getBeanClass(String id)
           
protected  HashMap<String,FormFactory> getFactories()
           
 FormFactory getFormFactory(String id)
           
 void registerFormFactory(String id, FormFactory formFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.riotfamily.forms.factory.FormRepository
addListener
 

Constructor Detail

AbstractFormRepository

public AbstractFormRepository()
Method Detail

containsForm

public boolean containsForm(String id)
Specified by:
containsForm in interface FormRepository

getFormFactory

public FormFactory getFormFactory(String id)
Specified by:
getFormFactory in interface FormRepository

createForm

public Form createForm(String id)
Specified by:
createForm in interface FormRepository

getBeanClass

public Class<?> getBeanClass(String id)
Specified by:
getBeanClass in interface FormRepository

registerFormFactory

public void registerFormFactory(String id,
                                FormFactory formFactory)

getFactories

protected HashMap<String,FormFactory> getFactories()