Current known limitations are:
If no doclet is set, then the version and
author are by default "yes".
Note
This task is run on another VM because the Javadoc code calls
System.exit() which would break Ant functionality.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Javadoc.
EnumeratedAttribute implementation supporting the Javadoc scoping values. |
| public class | Javadoc.
This class stores info about doclets. |
| public class | Javadoc.
Inner class used to manage doclet parameters. |
| public static class | Javadoc.
A project aware class used for Javadoc extensions which take a name and a path such as doclet and taglet arguments. |
| public class | Javadoc.
A class corresponding to the group nested element. |
| public static class | Javadoc.
An HTML element in the Javadoc. |
| private class | |
| public class | Javadoc.
Represents a link triplet (href, whether link is offline, location of the package list if off line) |
| public static class | Javadoc.
Used to track info about the packages to be javadoc'd |
| public class | Javadoc.
Holds a collection of ResourceCollections. |
| public static class | Javadoc.
This class is used to manage the source files to be processed. |
| public class | Javadoc.
Class representing a -tag argument. |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Path | |
| private Javadoc. | |
| private boolean | |
| private Path | |
| private final Commandline | cmd
The command line built to execute Javadoc. |
| private File | |
| private String | |
| private boolean | |
| private Javadoc. | |
| private Javadoc. | |
| private String | |
| private final List | |
| private String | |
| private boolean | failOnError
Flag which indicates if the task should fail if there is a Javadoc error. |
| private boolean | failOnWarning
Flag which indicates if the task should fail if there is a Javadoc warning. |
| private static final FileUtils | |
| private Javadoc. | |
| private String | |
| private final List | |
| private Javadoc. | |
| private boolean | |
| private final List | |
| private boolean | |
| private static final String | |
| private static final int | |
| private final List | |
| private Path | |
| private Path | |
| private final Javadoc. | |
| private String | |
| private String | |
| private final List | |
| private final List | |
| private boolean | |
| pack-priv static final String[] | SCOPE_ELEMENTS
Scope element verbose names. |
| private String | |
| private final List | |
| private Path | |
| private final List | |
| private boolean | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | addArgIfNotEmpty(final String
the argument name. key, final String the argument value. value)Utility method to add a Javadoc argument. |
| public void | |
| public void | addDoctitle(final Javadoc.
the HTML element containing the document title. textAdd a document title to use for the overview page. |
| public void | addExcludePackage(final Javadoc.
the name of the package (wildcards are not permitted). pnAdd a package to be excluded from the Javadoc run. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | addPackage(final Javadoc.
the package name, possibly wildcarded. pnAdd a single package to be processed. |
| public void | |
| public void | |
| private void | addSourceFiles(final List<Javadoc.
Add the files matched by the nested source files to the Vector as SourceFile instances. |
| public void | |
| private void | |
| private void | |
| private void | checkPackagesToDoc(final List<String> packagesToDoc, final List<Javadoc.
|
| private void | |
| private boolean | |
| public Commandline. | |
| public Path | Returns: a new Path instance to be configured with the boot classpath.Create a Path to be configured with the boot classpath |
| public Path | Returns: a new Path instance to be configured with the classpath.Create a Path to be configured with the classpath to use |
| public Javadoc. | Returns: a new DocletInfo instance to be configured.Create a doclet to be used in the documentation generation. |
| public Javadoc. | Returns: a group argument to be configuredSeparates packages on the overview page into whatever groups you specify, one group per table. |
| public Javadoc. | |
| public Path | Returns: a new Path instance to be configured by the Ant core.Create a path to be configured with the locations of the module files. |
| public Path | Returns: a new Path instance to be configured by the Ant core.Create a path to be configured with the locations of the module source files. |
| public Javadoc. | Returns: the source files to configure.Adds a container for resource collections. |
| public Path | Returns: a new Path instance to be configured by the Ant core.Create a path to be configured with the locations of the source files. |
| public Javadoc. | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | doSourceAndPackageNames(final Commandline toExecute, final List<String> packagesToDoc, final List<Javadoc.
|
| private void | |
| private void | |
| public void | |
| protected String | |
| private String | |
| private void | |
| private void | parsePackages(final List<String> pn, final Path sp)
Add the directories matched by the nested dirsets to the Vector and the base directories of the dirsets to the Path. |
| private String | |
| private int | |
| private void | |
| private String | Returns: the quoted string, if there is no need to quote the string, return the original string.the string to quote str)Quote a string to place in a @ file. |
| private String | |
| public void | |
| public void | setAdditionalparam(final String
the additional command line parameter for the javadoc task. add)Set an additional parameter on the command line |
| public void | setAuthor(final boolean
true if the author tag should be included. b)Include the author tag in the generated documentation. |
| public void | |
| public void | setBootClasspathRef(final Reference
the reference to an instance defining the bootclasspath. r)Adds a reference to a CLASSPATH defined elsewhere. |
| public void | |
| public void | setBreakiterator(final boolean
a b)String valueEnables the -linksource switch, will be ignored if Javadoc is not the 1.4 version. |
| public void | setCharset(final String
the name of the charset src)Charset for cross-platform viewing of generated documentation. |
| public void | setClasspath(final Path
an Ant Path object containing the compilation
classpath. path)Set the classpath to be used for this Javadoc run. |
| public void | setClasspathRef(final Reference
the reference to an instance defining the classpath. r)Adds a reference to a CLASSPATH defined elsewhere. |
| public void | setDefaultexcludes(final boolean
"true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used. useDefaultExcludes)Sets whether default exclusions should be used or not. |
| public void | setDestdir(final File
the destination directory. dir)Set the directory where the Javadoc output will be generated. |
| public void | |
| public void | |
| public void | |
| public void | setDocletPath(final Path
the doclet classpath. docletPath)Set the classpath used to find the doclet class. |
| public void | setDocletPathRef(final Reference
the reference to the Path instance to use as the doclet
classpath. r)Set the classpath used to find the doclet class by reference. |
| public void | |
| public void | setEncoding(final String
the name of the encoding for the source files. enc)Set the encoding name of the source files, |
| public void | setExcludeDocFilesSubDir(final String
String s)Colon-separated list of |
| public void | setExcludePackageNames(final String
a comma separated list of packages to be excluded.
This may not include wildcards. packages)Set the list of packages to be excluded. |
| public void | setExecutable(final String
the command to invoke. executable)Sets the actual executable command to invoke, instead of the binary
|
| public void | setExtdirs(final String
the string version of the path. path)
Deprecated
since 1.5.x.
Use the
Set the location of the extensions directories.
setExtdirs(Path) version.
|
| public void | setExtdirs(final Path
a path containing the extension directories. path)Set the location of the extensions directories. |
| public void | setFailonerror(final boolean
a b)boolean valueShould the build process fail if Javadoc fails (as indicated by a non zero return code)? |
| public void | setFailonwarning(final boolean
a b)boolean valueShould the build process fail if Javadoc warns (as indicated by the word "warning" on stdout)? |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setIncludeNoSourcePackages(final boolean
a b)boolean value.If set to true, Ant will also accept packages that only hold package.html files but no Java sources. |
| public void | |
| public void | setLinkoffline(final String
the offline link specification (url and package list) src)Link to docs at "url" using package list at "url2" - separate the URLs by using a space character. |
| public void | setLinksource(final boolean
a b)String valueEnables the -linksource switch, will be ignored if Javadoc is not the 1.4 version. |
| public void | |
| public void | setMaxmemory(final String
a string indicating the maximum memory according to the
JVM conventions (e.g. 128m is 128 Megabytes) max)Set the maximum memory to be used by the javadoc process |
| public void | setModulenames(final String
a comma separated list of module names modules)Set the module names to be processed. |
| public void | |
| public void | setModulePathref(final Reference
the reference containing the module path definition. r)Adds a reference to a path defined elsewhere that defines the module path. |
| public void | setModuleSourcePath(final Path
a Path instance containing the sources for modules. mp)Specify where to find sources for modules |
| public void | setModuleSourcePathref(final Reference
the reference containing the module source path definition. r)Adds a reference to a path defined elsewhere that defines the module source path. |
| public void | setNodeprecated(final boolean
If true, do not include deprecated information. b)Control deprecation information |
| public void | setNodeprecatedlist(final boolean
if true, do not generate deprecated list. b)Control deprecated list generation |
| public void | |
| public void | |
| public void | setNonavbar(final boolean
if true, do not generate navigation bar. b)Control generation of the navigation bar. |
| public void | setNoqualifier(final String
the parameter to the -noqualifier switch noqualifier)Enables the -noqualifier switch, will be ignored if Javadoc is not the 1.4 version. |
| public void | |
| public void | setOld(final boolean
if true attempt to generate old style documentation. b)Indicate whether Javadoc should produce old style (JDK 1.1) documentation. |
| public void | setOverview(final File
the file containing the overview. f)Specify the file containing the overview to be included in the generated documentation. |
| public void | setPackage(final boolean
true if scope is to be package level. b)Indicate whether only package, protected and public classes and members are to be included in the scope processed |
| public void | setPackageList(final String
the file containing the package list. src)The name of a file containing the packages to process. |
| public void | setPackagenames(final String
a comma separated list of packages specs
(may be wildcarded). packages)Set the package names to be processed. |
| public void | setPostProcessGeneratedJavadocs(final boolean
boolean b)Whether to post-process the generated javadocs in order to mitigate CVE-2013-1571. |
| public void | setPrivate(final boolean
true if scope is to be private level. b)Indicate whether all classes and members are to be included in the scope processed |
| public void | setProtected(final boolean
true if scope is to be protected. b)Indicate whether only protected and public classes and members are to be included in the scope processed |
| public void | setPublic(final boolean
true if scope is to be public. b)Indicate whether only public classes and members are to be included in the scope processed |
| public void | setSerialwarn(final boolean
if true, generate warning about the serial tag. b)Control warnings about serial tag. |
| public void | |
| public void | setSourcefiles(final String
a comma separated list of source files. src)Set the list of source files to process. |
| public void | setSourcepath(final Path
a Path instance containing the various source directories. src)Specify where to find source file |
| public void | setSourcepathRef(final Reference
the reference containing the source path definition. r)Adds a reference to a CLASSPATH defined elsewhere. |
| public void | setSplitindex(final boolean
true if the index should be split into a file per letter. b)Generate a split index |
| public void | setStylesheetfile(final File
the file with the CSS to use. f)Specifies the CSS stylesheet file to use. |
| public void | setUse(final boolean
true if the use page should be generated. b)Generate the "use" page for each package. |
| public void | setUseExternalFile(final boolean
true if an external file is to be used. b)Work around command line length limit by using an external file for the sourcefiles. |
| public void | |
| public void | setVersion(final boolean
true if the version tag should be included. b)Include the version tag in the generated documentation. |
| public void | setWindowtitle(final String
the window title to use. title)Set the title to be placed in the HTML <title> tag of the generated documentation. |
| private void |