org.codehaus.mojo.castor
Class MappingsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.castor.AbstractMappingMojo
          extended by org.codehaus.mojo.castor.MappingsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class MappingsMojo
extends AbstractMappingMojo

A mojo that uses Castor MappingTool to generate mapping files from a set of Classes. MappingTool.

Author:
nicolas

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MappingsMojo()
           
 
Method Summary
 void execute()
          
protected  java.lang.String getClassName()
           
protected  java.lang.String getMappingName()
           
 
Methods inherited from class org.codehaus.mojo.castor.AbstractMappingMojo
getProjectClassLoader
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingsMojo

public MappingsMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractMappingMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
See Also:
Mojo.execute()

getClassName

protected java.lang.String getClassName()
Specified by:
getClassName in class AbstractMappingMojo
Returns:
the classname

getMappingName

protected java.lang.String getMappingName()
Specified by:
getMappingName in class AbstractMappingMojo
Returns:
the mappingName


Copyright © 2005-2009. All Rights Reserved.