public class Generator extends Object
Usage:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<configuration>
<charset>UTF-8</charset>
<doclet>org.beangle.commons.entity.comment.CommentGenerator</doclet>
<docletArtifact>
<groupId>org.beangle.commons</groupId>
<artifactId>beangle-commons-model</artifactId>
<version>${beangle.version}</version>
</docletArtifact>
<locale>
zh_CN
</locale>
<useStandardDocletOptions>false</useStandardDocletOptions>
</configuration>
</plugin>
</plugins>
</build>
https://github.com/beangle/library/wiki/Entity-Comment-Generator,
http://docs.oracle.com/javase/1.4.2/docs/tooldocs/javadoc/overview.html,
http://docs.oracle.com/javase/7/docs/jdk/api/javadoc/doclet/index.html| Constructor and Description |
|---|
Generator() |
| Modifier and Type | Method and Description |
|---|---|
static int |
optionLength(String option)
Every option's args length(include themself)
|
static boolean |
start(com.sun.javadoc.RootDoc root) |
static boolean |
validOptions(String[][] options,
com.sun.javadoc.DocErrorReporter reporter)
Validate option .
|
public static int optionLength(String option)
It will be invoke by javadoc
public static boolean validOptions(String[][] options, com.sun.javadoc.DocErrorReporter reporter)
It will be invoke by javadoc
Copyright © 2005–2018 The Beangle Software. All rights reserved.