org.apache.myfaces.buildtools.maven2.plugin.builder.qdox
Class QdoxModelBuilder

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxModelBuilder
All Implemented Interfaces:
ModelBuilder

public class QdoxModelBuilder
extends Object
implements ModelBuilder

An implementation of the ModelBuilder interface that uses the Qdox java source-parsing library to scan a list of specified source directories for java files.

The java source files found can use either java15 annotations or doclet annotations to indicate what data should be added to the Model.


Constructor Summary
QdoxModelBuilder()
           
 
Method Summary
protected  void buildModel(Model model, List sourceDirs, com.thoughtworks.qdox.model.JavaClass[] classes)
           
 void buildModel(Model model, ModelParams parameters)
          Scan the source tree for doc-annotations, and build Model objects containing info extracted from the doc-annotation attributes and introspected info about the item the annotation is attached to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QdoxModelBuilder

public QdoxModelBuilder()
Method Detail

buildModel

public void buildModel(Model model,
                       ModelParams parameters)
                throws org.apache.maven.plugin.MojoExecutionException
Scan the source tree for doc-annotations, and build Model objects containing info extracted from the doc-annotation attributes and introspected info about the item the annotation is attached to.

Specified by:
buildModel in interface ModelBuilder
Throws:
org.apache.maven.plugin.MojoExecutionException

buildModel

protected void buildModel(Model model,
                          List sourceDirs,
                          com.thoughtworks.qdox.model.JavaClass[] classes)
                   throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


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