org.codehaus.modello.maven

Class ModelloXsdMojo


public class ModelloXsdMojo
extends AbstractModelloGeneratorMojo

Creates an XML schema from the model.
Version:
$Id: ModelloXsdMojo.java 916 2008-07-28 21:06:36Z olamy $
Author:
Brett Porter

Method Summary

protected void
customizeParameters(Properties parameters)
Override this method to customize the values in the properties set.
protected String
getGeneratorType()
File
getOutputDirectory()
protected boolean
producesCompilableResult()
void
setOutputDirectory(File outputDirectory)

Methods inherited from class org.codehaus.modello.maven.AbstractModelloGeneratorMojo

createParameters, customizeParameters, execute, getBasedir, getGeneratorType, getModel, getModelloCore, getModels, getOutputDirectory, getPackageWithVersion, getProject, getVersion, producesCompilableResult, producesResources, setBasedir, setModel, setModelloCore, setModels, setPackageWithVersion, setPackagedVersions, setProject, setVersion

Method Details

customizeParameters

protected void customizeParameters(Properties parameters)
Override this method to customize the values in the properties set.

This method will be called after the parameters have been populated with the parameters in the abstract mojo.

Overrides:
customizeParameters in interface AbstractModelloGeneratorMojo
Parameters:
parameters - the parameters to customize

getGeneratorType

protected String getGeneratorType()
Overrides:
getGeneratorType in interface AbstractModelloGeneratorMojo

getOutputDirectory

public File getOutputDirectory()
Overrides:
getOutputDirectory in interface AbstractModelloGeneratorMojo

producesCompilableResult

protected boolean producesCompilableResult()
Overrides:
producesCompilableResult in interface AbstractModelloGeneratorMojo

setOutputDirectory

public void setOutputDirectory(File outputDirectory)