public class AntDoclet extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AntDoclet.AntAttribute
Representation of an attribute of an
ANT type. |
static class |
AntDoclet.AntSubelement
Representation of a subelement of an ANT type (described in the ANT documentation as "Parameters specified as
nested elements").
|
static class |
AntDoclet.AntType
Representation of an "ANT type", see Concepts and Types.
|
static class |
AntDoclet.AntTypeGroup
Representation of a "group of types", e.g.
|
| Constructor and Description |
|---|
AntDoclet(com.sun.javadoc.RootDoc rootDoc,
de.unkrig.notemplate.javadocish.Options options,
Collection<String> antlibResources,
Collection<File> antlibFiles,
Map<String,URL> externalJavadocs,
de.unkrig.doclet.ant.AntDoclet.Theme theme,
String[] sourcePath) |
| Modifier and Type | Method and Description |
|---|---|
static List<AntDoclet.AntAttribute> |
attributesOf(com.sun.javadoc.ClassDoc classDoc,
com.sun.javadoc.RootDoc rootDoc) |
static com.sun.javadoc.MethodDoc |
characterDataOf(com.sun.javadoc.ClassDoc classDoc) |
static com.sun.javadoc.LanguageVersion |
languageVersion() |
static int |
optionLength(String option)
See "Doclet
Overview".
|
static boolean |
start(com.sun.javadoc.RootDoc rootDoc)
A doclet that generates documentation for APACHE ANT tasks and other
artifacts.
|
static List<AntDoclet.AntSubelement> |
subelementsOf(com.sun.javadoc.ClassDoc classDoc,
com.sun.javadoc.RootDoc rootDoc) |
public AntDoclet(com.sun.javadoc.RootDoc rootDoc,
de.unkrig.notemplate.javadocish.Options options,
Collection<String> antlibResources,
Collection<File> antlibFiles,
Map<String,URL> externalJavadocs,
de.unkrig.doclet.ant.AntDoclet.Theme theme,
@Nullable
String[] sourcePath)
throws IOException
IOExceptionpublic static com.sun.javadoc.LanguageVersion languageVersion()
public static int optionLength(String option)
public static boolean start(com.sun.javadoc.RootDoc rootDoc)
throws IOException,
ParserConfigurationException,
SAXException,
TransformerException
Opens, reads and parses an ANTLIB file and generates one document per type, task, macro, preset and script defined therein.
Supports the following command line options:
-antlib-file file-html-output-directory dir-mediawiki-output-directory dir-link target-url-linkoffline target-url package-list-url-doctitle text-windowtitle text-theme JAVA7|JAVA8-splitindex-charset name-docencoding name@Nullable public static com.sun.javadoc.MethodDoc characterDataOf(com.sun.javadoc.ClassDoc classDoc)
MethodDoc of the "addText(String)", or nullpublic static List<AntDoclet.AntAttribute> attributesOf(com.sun.javadoc.ClassDoc classDoc, com.sun.javadoc.RootDoc rootDoc)
public static List<AntDoclet.AntSubelement> subelementsOf(com.sun.javadoc.ClassDoc classDoc, com.sun.javadoc.RootDoc rootDoc)
Copyright © 2016 Arno Unkrig. All rights reserved.