org.codehaus.mojo.castor
Class GenerateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateMojo()
           
 
Method Summary
 void execute()
          
 java.io.File getDest()
           
 boolean getMarshal()
           
 java.lang.String getPackaging()
           
 org.apache.maven.project.MavenProject getProject()
           
 java.io.File getSchema()
           
 java.io.File getTstamp()
           
 java.lang.String getTypes()
           
 boolean isGenerateImportedSchemas()
           
 void setBindingfile(java.io.File bindingfile)
           
 void setDest(java.io.File dest)
           
 void setGenerateImportedSchemas(boolean generateImportedSchemas)
           
 void setMarshal(boolean marshal)
           
 void setPackaging(java.lang.String packaging)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 void setProperties(java.io.File properties)
           
 void setSchema(java.io.File schema)
           
 void setTstamp(java.io.File tstamp)
           
 void setTypes(java.lang.String types)
           
 
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

GenerateMojo

public GenerateMojo()
Method Detail

execute

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

Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
Mojo.execute()

getDest

public java.io.File getDest()

setDest

public void setDest(java.io.File dest)

getTstamp

public java.io.File getTstamp()

setTstamp

public void setTstamp(java.io.File tstamp)

getPackaging

public java.lang.String getPackaging()

setPackaging

public void setPackaging(java.lang.String packaging)

getSchema

public java.io.File getSchema()

setSchema

public void setSchema(java.io.File schema)

getTypes

public java.lang.String getTypes()

setTypes

public void setTypes(java.lang.String types)

setBindingfile

public void setBindingfile(java.io.File bindingfile)

setProperties

public void setProperties(java.io.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-2009. All Rights Reserved.