package org.codehaus.modello.maven;

import java.io.File;

/**
 * Creates a DOM4J reader from the model.
 *
 * @version $Id: ModelloDom4jReaderMojo.java 1244 2009-06-10 21:47:16Z olamy $
 * @goal dom4j-reader
 * @phase generate-sources
 */
public class ModelloDom4jReaderMojo
    extends AbstractModelloGeneratorMojo
{
    /**
     * The output directory of the generated DOM4J reader.
     *
     * @parameter expression="${basedir}/target/generated-sources/modello"
     * @required
     */
    private File outputDirectory;

    protected String getGeneratorType()
    {
        return "dom4j-reader";
    }

    public File getOutputDirectory()
    {
        return outputDirectory;
    }

    public void setOutputDirectory( File outputDirectory )
    {
        this.outputDirectory = outputDirectory;
    }
}
