public class IKVMDocLet
extends com.sun.javadoc.Doclet
The current implementation may has not been tested with (and thus may not support) the following features:
Other issues:
Usage reports "javadoc" instead of "ikvmdoc": usage: javadoc [options] [packagenames] [sourcefiles] [@files] should be: usage: ikvmdoc [options] [packagenames] [sourcefiles] [@files]
HTML tag parsing is not forgiving; should be made more fault tolerant
Javadoc HTML -> .NET tag conversions that should be considered/evaluated:
true -> false -> null ->
| Constructor and Description |
|---|
IKVMDocLet() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Execute IKVMDoc without the use of the javadoc executable.
|
static int |
optionLength(java.lang.String option)
Check for ikvmdoc specific options.
|
static void |
printIndent(java.io.PrintWriter pw,
int indentations)
Prints an indentation a specified number of times.
|
static boolean |
start(com.sun.javadoc.RootDoc root)
Generate the .NET XML Documentation.
|
static boolean |
validOptions(java.lang.String[][] options,
com.sun.javadoc.DocErrorReporter reporter)
Check that ikvmdoc options have the correct arguments.
|
public static boolean start(com.sun.javadoc.RootDoc root)
root - represents the root of the program structure information for one run of javadoctrue on success; false on failurepublic static void printIndent(java.io.PrintWriter pw,
int indentations)
pw - the writer to print the indentations toindentations - the number of indentations to printpublic static void main(java.lang.String[] args)
args - the program argumentspublic static int optionLength(java.lang.String option)
option - the option to evaluate and return the number of arguments forpublic static boolean validOptions(java.lang.String[][] options,
com.sun.javadoc.DocErrorReporter reporter)
options - the options to checkreporter - the error reported used to report any failures totrue if the options are valid;
false if the options are invalid