org.apache.myfaces.buildtools.maven2.plugin.builder
Interface ModelBuilder

All Known Implementing Classes:
QdoxModelBuilder

public interface ModelBuilder

An interface that is implemented by classes that are capable of collecting metadata about JSF components, converters, validators, etc.

A ModelBuilder implementation might read xml files, or scan source code for annotations, or read data from a database, or any number of possible approaches. All that matters is that it makes a series of calls to a Model object to add information.

ModelBuilder implementations may be run as a chain, ie one instance used to populate the Model object with some objects, then a second instance used to add more data or modify the data already in the model.


Method Summary
 void buildModel(Model model, ModelParams parameters)
          Given a model (which might already be partly populated with data, add information about JSF artifacts.
 

Method Detail

buildModel

void buildModel(Model model,
                ModelParams parameters)
                throws org.apache.maven.plugin.MojoExecutionException
Given a model (which might already be partly populated with data, add information about JSF artifacts.

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.