org.universAAL.ui.ui.handler.web.html
Class ModelMapper

Package class diagram package ModelMapper
java.lang.Object
  extended by 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

Constructor Summary
ModelMapper(HTMLUserGenerator renderer)
          The main Constructor.
 
Method Summary
 Model getModelFor(FormElement fe)
          get Model for a given FormElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelMapper

public ModelMapper(HTMLUserGenerator renderer)
The main Constructor.

Parameters:
renderer - the HTMLUserGenerator to be associated with
Method Detail

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.