public class UmlGraph extends Object
Modifier and Type | Field and Description |
---|---|
private static Options |
commentOptions
Options used for commenting nodes
|
private static String |
docletName |
private static String |
programName |
Constructor and Description |
---|
UmlGraph() |
Modifier and Type | Method and Description |
---|---|
static void |
buildGraph(RootDoc root,
OptionProvider op,
Doc contextDoc)
Builds and outputs a single graph according to the view overrides
|
static Options |
buildOptions(RootDoc root)
Creates the base Options object.
|
private static View |
buildView(RootDoc root,
ClassDoc viewClass,
OptionProvider provider)
Builds a view along with its parent views, recursively
|
static View[] |
buildViews(Options opt,
RootDoc srcRootDoc,
RootDoc viewRootDoc)
Builds the views according to the parameters on the command line
|
private static ClassDoc |
findClass(RootDoc root,
String name)
Return the ClassDoc for the specified class; null if not found.
|
static Options |
getCommentOptions() |
static LanguageVersion |
languageVersion()
Indicate the language version we support
|
static void |
main(String[] args) |
static int |
optionLength(String option)
Option checking
|
static boolean |
start(RootDoc root)
Entry point through javadoc
|
private static final String programName
private static final String docletName
private static Options commentOptions
public static boolean start(RootDoc root) throws IOException
IOException
public static void main(String[] args)
public static Options getCommentOptions()
public static Options buildOptions(RootDoc root)
private static ClassDoc findClass(RootDoc root, String name)
public static void buildGraph(RootDoc root, OptionProvider op, Doc contextDoc) throws IOException
IOException
public static View[] buildViews(Options opt, RootDoc srcRootDoc, RootDoc viewRootDoc)
opt
- The optionssrcRootDoc
- The RootDoc for the source classesviewRootDoc
- The RootDoc for the view classes (may be
different, or may be the same as the srcRootDoc)private static View buildView(RootDoc root, ClassDoc viewClass, OptionProvider provider)
public static int optionLength(String option)
public static LanguageVersion languageVersion()