Interface FieldHandlerFactory
-
- All Known Implementing Classes:
DefaultFieldHandlerFactory
public interface FieldHandlerFactory
Definition of an interface for objects that are able to create
objects.FieldHandler
An implementation of this interface is used by input components creating tags during a builder operation. It creates the handler objects that are stored in the constructed
object.Form
- Version:
- $Id: FieldHandlerFactory.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldHandler
createFieldHandler(InputComponentTag tag, ComponentHandler<?> componentHandler)
Creates a new field handler object.
-
-
-
Method Detail
-
createFieldHandler
FieldHandler createFieldHandler(InputComponentTag tag, ComponentHandler<?> componentHandler) throws FormBuilderException
Creates a new field handler object. The component handler to be associated with the new field handler is directly passed. All other necessary information can be obtained from the specified tag handler tag.- Parameters:
tag
- the input component tagcomponentHandler
- the component handler- Returns:
- the new field handler
- Throws:
FormBuilderException
- if an error occurs
-
-