org.codehaus.mojo.antlr
Class AntlrPlugin

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.antlr.AbstractAntlrMojo
          extended by org.codehaus.mojo.antlr.AntlrPlugin
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AntlrPlugin
extends AbstractAntlrMojo

Generates files based on grammar files with Antlr tool.

Version:
$Id: AntlrPlugin.java 4581 2007-07-18 11:53:46Z vsiveton $
Author:
Vincent Siveton

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
AbstractAntlrMojo.NoAntlrDependencyDefinedException
 
Field Summary
 
Fields inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
grammarDefs, grammars, outputDirectory, project, sourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AntlrPlugin()
           
 
Method Summary
protected  void addArgs(java.util.List arguments)
          Add arguments to be included in Antlr call
 void execute()
           
 
Methods inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
addArgIf, executeAntlr
 
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

AntlrPlugin

public AntlrPlugin()
Method Detail

execute

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

addArgs

protected void addArgs(java.util.List arguments)
Description copied from class: AbstractAntlrMojo
Add arguments to be included in Antlr call

Specified by:
addArgs in class AbstractAntlrMojo
See Also:
AbstractAntlrMojo.addArgs(java.util.List)


Copyright © 2004-2011 Codehaus. All Rights Reserved.