|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.spinellis.umlgraph.doclet.UmlGraph
public class UmlGraph
Doclet API implementation
Constructor Summary | |
---|---|
UmlGraph()
|
Method Summary | |
---|---|
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, that contains both the options specified on the command line and the ones specified in the UMLOptions class, if available. |
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 |
findUMLOptions(RootDoc root)
|
static LanguageVersion |
languageVersion()
Indicate the language version we support |
static int |
optionLength(String option)
Option checking |
static boolean |
start(RootDoc root)
Entry point |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UmlGraph()
Method Detail |
---|
public static boolean start(RootDoc root) throws IOException
IOException
public static Options buildOptions(RootDoc root)
private static ClassDoc findUMLOptions(RootDoc root)
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()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |