org.riotfamily.forms.factory
Class DefaultFormFactory
java.lang.Object
org.riotfamily.forms.factory.DefaultFormFactory
- All Implemented Interfaces:
- ContainerElementFactory, FormFactory
public class DefaultFormFactory
- extends Object
- implements FormFactory
Form factory used by
XmlFormRepositoryDigester
.
Since there are no dependencies to the xml package this class
could also be useful for other custom implementations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFormFactory
public DefaultFormFactory(FormInitializer initializer,
Validator validator)
DefaultFormFactory
public DefaultFormFactory(FormInitializer initializer,
Validator validator,
Class<?> beanClass)
setBeanClass
public void setBeanClass(Class<?> beanClass)
setEditorBinderClass
public void setEditorBinderClass(Class<? extends EditorBinder> editorBinderClass)
getBeanClass
public Class<?> getBeanClass()
- Specified by:
getBeanClass
in interface FormFactory
addChildFactory
public void addChildFactory(ElementFactory factory)
- Adds an ElementFactory to the list of child factories.
- Specified by:
addChildFactory
in interface ContainerElementFactory
getChildFactories
public List<ElementFactory> getChildFactories()
- Specified by:
getChildFactories
in interface ContainerElementFactory
createForm
public Form createForm()
- Specified by:
createForm
in interface FormFactory