public interface PathResolver
A path resolver is responsible for associating documentation elements
(RootDoc, PackageDoc,
ClassDoc) to file system locations of corresponding
UML diagrams.
Note:
To be loaded and used by doclets at run-time, the path resolver must have
a non-argument constructor.

| Method Summary | |
|---|---|
File |
getPathTo(ClassDoc cd)
Given a documentation class, return the full path to the class diagram. |
File |
getPathTo(ClassDoc cd,
String id,
String ext)
Given a documentation class, return the full path to the class diagram. |
File |
getPathTo(PackageDoc pd)
Given a documentation package, return the full path to the package diagram. |
File |
getPathTo(PackageDoc pd,
String id,
String ext)
Given a documentation package, return the full path to the package diagram. |
File |
getPathTo(RootDoc rd)
Given the documentation root, return the full path to the overview diagram. |
File |
getPathTo(RootDoc rd,
String id,
String ext)
Given the documentation root, return the full path to the overview diagram. |
File |
getRootDirectory()
Returns property rootDirectory. |
void |
setRootDirectory(File directory)
Sets property rootDirectory. |
| Method Detail |
|---|
File getRootDirectory()
rootDirectory.
rootDirectory.void setRootDirectory(File directory)
rootDirectory.
directory - the path to the root directoryFile getPathTo(RootDoc rd)
null, if no appropriate diagram
can be found.
rd - the RootDoc.
File getPathTo(RootDoc rd,
String id,
String ext)
null, if no appropriate diagram
can be found.
rd - the RootDoc.id - file name suffix which identifies a diagram if multiple
diagrams are generated. May be null.ext - file extension. May be null.File getPathTo(PackageDoc pd)
null, if no appropriate diagram
can be found.
pd - the PackageDoc.
File getPathTo(PackageDoc pd,
String id,
String ext)
null, if no appropriate diagram
can be found.
pd - the PackageDoc.id - file name suffix which identifies a diagram if multiple
diagrams are generated. May be null.ext - file extension. May be null.File getPathTo(ClassDoc cd)
null, if no appropriate diagram
can be found.
cd - the ClassDoc.
File getPathTo(ClassDoc cd,
String id,
String ext)
null, if no appropriate diagram
can be found.
cd - the ClassDoc.id - file name suffix which identifies a diagram if multiple
diagrams are generated. May be null.ext - file extension. May be null.