public class ResourceDoclet extends Object
The ResourceDoc file contains the javadoc documentation of resource classes, so that this can be used for extending generated wadl with useful documentation.
| Constructor and Description |
|---|
ResourceDoclet() |
| Modifier and Type | Method and Description |
|---|---|
static int |
optionLength(String option)
Return array length for given option: 1 + the number of arguments that
the option takes.
|
static boolean |
start(com.sun.javadoc.RootDoc root)
Start the doclet.
|
static boolean |
validOptions(String[][] options,
com.sun.javadoc.DocErrorReporter reporter)
Validate options.
|
public static boolean start(com.sun.javadoc.RootDoc root)
root - the root JavaDoc document.public static int optionLength(String option)
option - optionpublic static boolean validOptions(String[][] options, com.sun.javadoc.DocErrorReporter reporter)
options - options to be validatedreporter - DocErrorReporter for collecting eventual errorsCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.