org.codehaus.modello.maven
Class ModelloXsdMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.modello.maven.AbstractModelloGeneratorMojo
          extended by org.codehaus.modello.maven.ModelloXsdMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ModelloXsdMojo
extends AbstractModelloGeneratorMojo

Creates an XML schema from the model.

Version:
$Id: ModelloXsdMojo.java 1081 2009-01-01 17:34:36Z hboutemy $
Author:
Brett Porter

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ModelloXsdMojo()
           
 
Method Summary
protected  void customizeParameters(java.util.Properties parameters)
          Override this method to customize the values in the properties set.
protected  java.lang.String getGeneratorType()
           
 java.io.File getOutputDirectory()
           
protected  boolean producesCompilableResult()
           
 void setOutputDirectory(java.io.File outputDirectory)
           
 
Methods inherited from class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
createParameters, execute, getBasedir, getModelloCore, getModels, getPackageWithVersion, getProject, getVersion, producesResources, setBasedir, setBuildContext, setModelloCore, setModels, setPackagedVersions, setPackageWithVersion, setProject, setVersion
 
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

ModelloXsdMojo

public ModelloXsdMojo()
Method Detail

getGeneratorType

protected java.lang.String getGeneratorType()
Specified by:
getGeneratorType in class AbstractModelloGeneratorMojo

customizeParameters

protected void customizeParameters(java.util.Properties parameters)
Description copied from class: AbstractModelloGeneratorMojo
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 class AbstractModelloGeneratorMojo
Parameters:
parameters - the parameters to customize

producesCompilableResult

protected boolean producesCompilableResult()
Overrides:
producesCompilableResult in class AbstractModelloGeneratorMojo

getOutputDirectory

public java.io.File getOutputDirectory()
Specified by:
getOutputDirectory in class AbstractModelloGeneratorMojo

setOutputDirectory

public void setOutputDirectory(java.io.File outputDirectory)


Copyright © 2001-2011 Codehaus. All Rights Reserved.