Class DocletInvoker

java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.DocletInvoker

@Deprecated public class DocletInvoker extends Object
Deprecated.
Class creates, controls and invokes doclets.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

Author:
Neal Gafter (rewrite)
  • Constructor Details

    • DocletInvoker

      public DocletInvoker(Messager messager, Class<?> docletClass, boolean apiMode, boolean exportInternalAPI)
      Deprecated.
    • DocletInvoker

      public DocletInvoker(Messager messager, JavaFileManager fileManager, String docletClassName, String docletPath, ClassLoader docletParentClassLoader, boolean apiMode, boolean exportInternalAPI)
      Deprecated.
  • Method Details

    • start

      public boolean start(RootDoc root)
      Deprecated.
      Generate documentation here. Return true on success.
    • optionLength

      public int optionLength(String option)
      Deprecated.
      Check for doclet added options here. Zero return means option not known. Positive value indicates number of arguments to option. Negative value means error occurred.
    • validOptions

      public boolean validOptions(com.sun.tools.javac.util.List<String[]> optlist)
      Deprecated.
      Let doclet check that all options are OK. Returning true means options are OK. If method does not exist, assume true.
    • languageVersion

      public LanguageVersion languageVersion()
      Deprecated.
      Return the language version supported by this doclet. If the method does not exist in the doclet, assume version 1.1.