org.codehaus.mojo.castor
Class GenerateMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.castor.GenerateMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class GenerateMojo
- extends org.apache.maven.plugin.AbstractMojo
A mojo that uses Castor to generate a collection of javabeans from an XSD. Detailed
explanations of many of these can be found in the details for the Castor
SourceGenerator.
- Author:
- brozow , jesse
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
GenerateMojo
public GenerateMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
- See Also:
Mojo.execute()
getDest
public File getDest()
setDest
public void setDest(File dest)
getTstamp
public File getTstamp()
setTstamp
public void setTstamp(File tstamp)
getPackaging
public String getPackaging()
setPackaging
public void setPackaging(String packaging)
getSchema
public File getSchema()
setSchema
public void setSchema(File schema)
getTypes
public String getTypes()
setTypes
public void setTypes(String types)
setBindingfile
public void setBindingfile(File bindingfile)
setProperties
public void setProperties(File properties)
getMarshal
public boolean getMarshal()
setMarshal
public void setMarshal(boolean marshal)
isGenerateImportedSchemas
public boolean isGenerateImportedSchemas()
setGenerateImportedSchemas
public void setGenerateImportedSchemas(boolean generateImportedSchemas)
getProject
public org.apache.maven.project.MavenProject getProject()
setProject
public void setProject(org.apache.maven.project.MavenProject project)
Copyright © 2005-2011 Codehaus. All Rights Reserved.