org.codehaus.modello.maven
Class ModelloJDOMWriterMojo

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

public class ModelloJDOMWriterMojo
extends AbstractModelloGeneratorMojo

Creates a jdom writer from the model that is capable of preserving element ordering and comments. In future it should also preserve whitespace.

Author:
Milos Kleint

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ModelloJDOMWriterMojo()
           
 
Method Summary
protected  java.lang.String getGeneratorType()
           
 java.io.File getOutputDirectory()
           
 void setOutputDirectory(java.io.File outputDirectory)
           
 
Methods inherited from class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
createParameters, customizeParameters, execute, getBasedir, getModelloCore, getModels, getPackageWithVersion, getProject, getVersion, producesCompilableResult, 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

ModelloJDOMWriterMojo

public ModelloJDOMWriterMojo()
Method Detail

getGeneratorType

protected java.lang.String getGeneratorType()
Specified by:
getGeneratorType 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.