Package org.codehaus.mojo.antlr
Class AntlrHtmlReport
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.antlr.AbstractAntlrMojo
-
- org.codehaus.mojo.antlr.AntlrHtmlReport
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.apache.maven.reporting.MavenReport,Environment
public class AntlrHtmlReport extends AbstractAntlrMojo implements org.apache.maven.reporting.MavenReport
Generates Antlr documentation from grammar files.- Version:
- $Id$
- Author:
- Vincent Siveton
- See Also:
- Command Line Options
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
AbstractAntlrMojo.NoAntlrDependencyDefinedException
-
-
Field Summary
Fields Modifier and Type Field Description protected org.codehaus.plexus.i18n.I18Ni18nInternationalization.-
Fields inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
grammarDefs, grammars, outputDirectory, project, sourceDirectory
-
-
Constructor Summary
Constructors Constructor Description AntlrHtmlReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddArgs(List arguments)Add arguments to be included in Antlr callbooleancanGenerateReport()voidexecute()voidgenerate(org.codehaus.doxia.sink.Sink sink, Locale locale)StringgetCategoryName()StringgetDescription(Locale locale)StringgetName(Locale locale)StringgetOutputName()FilegetReportOutputDirectory()booleanisExternalReport()voidsetReportOutputDirectory(File reportOutputDirectory)-
Methods inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
addArgIf, executeAntlr, getOutputDirectory, getSourceDirectory, locateAntlrArtifact, performGeneration
-
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
-
Methods inherited from interface org.codehaus.mojo.antlr.Environment
getLog
-
-
-
-
Method Detail
-
getName
public String getName(Locale locale)
- Specified by:
getNamein interfaceorg.apache.maven.reporting.MavenReport- See Also:
MavenReport.getName(java.util.Locale)
-
getDescription
public String getDescription(Locale locale)
- Specified by:
getDescriptionin interfaceorg.apache.maven.reporting.MavenReport- See Also:
MavenReport.getDescription(java.util.Locale)
-
addArgs
protected void addArgs(List arguments)
Description copied from class:AbstractAntlrMojoAdd arguments to be included in Antlr call- Specified by:
addArgsin classAbstractAntlrMojo- See Also:
AbstractAntlrMojo.addArgs(java.util.List)
-
generate
public void generate(org.codehaus.doxia.sink.Sink sink, Locale locale) throws org.apache.maven.reporting.MavenReportException- Specified by:
generatein interfaceorg.apache.maven.reporting.MavenReport- Throws:
org.apache.maven.reporting.MavenReportException- See Also:
MavenReport.generate(org.codehaus.doxia.sink.Sink, java.util.Locale)
-
getOutputName
public String getOutputName()
- Specified by:
getOutputNamein interfaceorg.apache.maven.reporting.MavenReport- See Also:
MavenReport.getOutputName()
-
isExternalReport
public boolean isExternalReport()
- Specified by:
isExternalReportin interfaceorg.apache.maven.reporting.MavenReport- See Also:
MavenReport.isExternalReport()
-
canGenerateReport
public boolean canGenerateReport()
- Specified by:
canGenerateReportin interfaceorg.apache.maven.reporting.MavenReport- See Also:
MavenReport.canGenerateReport()
-
getCategoryName
public String getCategoryName()
- Specified by:
getCategoryNamein interfaceorg.apache.maven.reporting.MavenReport- See Also:
MavenReport.getCategoryName()
-
getReportOutputDirectory
public File getReportOutputDirectory()
- Specified by:
getReportOutputDirectoryin interfaceorg.apache.maven.reporting.MavenReport- See Also:
MavenReport.getReportOutputDirectory()
-
setReportOutputDirectory
public void setReportOutputDirectory(File reportOutputDirectory)
- Specified by:
setReportOutputDirectoryin interfaceorg.apache.maven.reporting.MavenReport- See Also:
MavenReport.setReportOutputDirectory(java.io.File)
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException- See Also:
AbstractMavenReport.execute()
-
-