|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.umlgraph.doclet.UmlGraph
public class UmlGraph
Doclet API implementation
Field Summary | |
---|---|
private static Options |
commentOptions
Options used for commenting nodes |
private static java.lang.String |
docletName
|
private static java.lang.String |
programName
|
Constructor Summary | |
---|---|
UmlGraph()
|
Method Summary | |
---|---|
static void |
buildGraph(com.sun.javadoc.RootDoc root,
OptionProvider op,
com.sun.javadoc.Doc contextDoc)
Builds and outputs a single graph according to the view overrides |
static Options |
buildOptions(com.sun.javadoc.RootDoc root)
Creates the base Options object. |
private static View |
buildView(com.sun.javadoc.RootDoc root,
com.sun.javadoc.ClassDoc viewClass,
OptionProvider provider)
Builds a view along with its parent views, recursively |
static View[] |
buildViews(Options opt,
com.sun.javadoc.RootDoc srcRootDoc,
com.sun.javadoc.RootDoc viewRootDoc)
Builds the views according to the parameters on the command line |
private static com.sun.javadoc.ClassDoc |
findClass(com.sun.javadoc.RootDoc root,
java.lang.String name)
Return the ClassDoc for the specified class; null if not found. |
static Options |
getCommentOptions()
|
static com.sun.javadoc.LanguageVersion |
languageVersion()
Indicate the language version we support |
static void |
main(java.lang.String[] args)
|
static int |
optionLength(java.lang.String option)
Option checking |
static boolean |
start(com.sun.javadoc.RootDoc root)
Entry point through javadoc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String programName
private static final java.lang.String docletName
private static Options commentOptions
Constructor Detail |
---|
public UmlGraph()
Method Detail |
---|
public static boolean start(com.sun.javadoc.RootDoc root) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args)
public static Options getCommentOptions()
public static Options buildOptions(com.sun.javadoc.RootDoc root)
private static com.sun.javadoc.ClassDoc findClass(com.sun.javadoc.RootDoc root, java.lang.String name)
public static void buildGraph(com.sun.javadoc.RootDoc root, OptionProvider op, com.sun.javadoc.Doc contextDoc) throws java.io.IOException
java.io.IOException
public static View[] buildViews(Options opt, com.sun.javadoc.RootDoc srcRootDoc, com.sun.javadoc.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(com.sun.javadoc.RootDoc root, com.sun.javadoc.ClassDoc viewClass, OptionProvider provider)
public static int optionLength(java.lang.String option)
public static com.sun.javadoc.LanguageVersion languageVersion()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |