org.universAAL.ui.ui.handler.web.html
Class ModelMapper
java.lang.Object
org.universAAL.ui.ui.handler.web.html.ModelMapper
public final class ModelMapper
- extends Object
It will map org.universAAL.middleware.ui.rdf classes to
a Model
component.
This class will be used by the created components to nest
the rest of the form representation.
- Author:
- amedrano
- See Also:
Model
,
FormModel
,
LabelModel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelMapper
public ModelMapper(HTMLUserGenerator renderer)
- The main Constructor.
- Parameters:
renderer
- the HTMLUserGenerator
to be associated with
getModelFor
public Model getModelFor(FormElement fe)
- get
Model
for a given FormElement
.
- Parameters:
fe
- the FormElement
for which the model is required
- Returns:
- the found LAF extension for the component.
Copyright © 2014 universAAL Consortium. All Rights Reserved.