org.codehaus.mojo.castor
Class MappingMojo

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

public class MappingMojo
extends AbstractMappingMojo

A mojo that uses Castor MappingTool to generate mapping files from a single Class. MappingTool.

Author:
nicolas
Is bound to the specified phase of the standard build lifecycle:
process-classes
Is defined by the goal name:
mapping

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MappingMojo()
           
 
Method Summary
protected  String getClassName()
          Returns the class name.
protected  String getMappingName()
          Returns the name of the mapping file.
 
Methods inherited from class org.codehaus.mojo.castor.AbstractMappingMojo
execute, 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

MappingMojo

public MappingMojo()
Method Detail

getClassName

protected String getClassName()
Returns the class name.

Specified by:
getClassName in class AbstractMappingMojo
Returns:
the classname
See Also:
AbstractMappingMojo.getClassName()

getMappingName

protected String getMappingName()
Returns the name of the mapping file.

Specified by:
getMappingName in class AbstractMappingMojo
Returns:
the mappingName
See Also:
AbstractMappingMojo.getMappingName()


Copyright © 2005-2012 Codehaus. All Rights Reserved.