|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
TOP Class Summary |
|
JDCArray | Manage a set of JDClasses. |
JDClass | A JDFile that is explicitely defined it the jdlcode doclet class map configuration file. |
JDFile | Represents a single JavaDoc (html) file that may or may not contain JavaDoc Link Codes. |
PackageType | Defines a package type whose classes are liked to, from your JavaDoc html files. |
PTArray | Manage a set of unique PackageTypes. |
SplitLinkCode | Example link: <A HREF="~JD~t~EJD~">~JD~t~EJD~</a> --> ../template/Template.html (see package description for details). |
UtilJDLCode | Random functions used throughout the xbn.jdlcode package. |
TOP
Package xbn.jdlcode Description
Speed up the creation and increase the accuracy of your JavaDoc. Every class is assigned an abbreviation by you, existing in a doclet class map (take a look at the actual XBN doclet class map). Logically combining those abbreviations together forms a "JavaDoc Link Code".
JavaDoc Link Codes are backward compatible: They do not interfere with your existing JavaDoc, nor are you restricted from using traditional hard-coded JavaDoc links. A non-interpreted JavaDoc link code is just a broken link. For example: ~JD~utiljdlc~EJD~
Contents:
...
Example JavaDoc Link Codes: Actual codes, and the relative urls they result in....
Things that don't belong in a JavaDoc Link Code...
Other notes you should understand when using JavaDoc Link Codes...
Readying Sun's Standard Doclet to use JavaDoc Link Codes
Here are some actual JavaDoc Link Codes, and the links they equal:
~JD~over~EJD~ |
../../overview-summary.html |
~JD~over~EJD~#overview_description |
../../overview-summary.html#overview_description |
~JD~t~EJD~ |
../template/Template.html |
~JD~vwo~EJD~#getAOObject() |
../array/VWObject.html#getAOObject() |
~JD~jdf#jdf(s,s)~EJD~ |
JDFile.html#JDFile(java.lang.String, java.lang.String) |
~JD~jdc#jdc(s,s,pta)~EJD~ |
JDClass.html#JDClass(java.lang.String, java.lang.String, xbn.jdlcode.PTArray) |
~JD~td#td(s,aosl,aps,s,s,b)~EJD~ |
../template/TemplateData.html#TemplateData(java.lang.String, xbn.array.AOSLookup, xbn.array.APString, java.lang.String, java.lang.String, boolean) |
~JD~jdc#setNameAbbrevOrFQCN(b)~EJD~ |
JDClass.html#setNameAbbrevOrFQCN(boolean) |
~JD~st~EJD~ |
http://java.sun.com/j2se/1.3/docs/api/java/util/StringTokenizer.html |
~JD~st#st(s)~EJD~ |
http://java.sun.com/j2se/1.3/docs/api/java/util/StringTokenizer.html#StringTokenizer(java.lang.String) |
"#overview_description" and "#getString()" are not actually part of a JavaDoc Link Code, but I thought it helpful to put them here.
Limitation: It is currently not possible to link to the overview-summary (or any file in the root directory) of an external package.
JavaDoc Link Codes are based upon xbn.template.Template, where each gap is surrounded by ~JD~
and ~EJD~
. This is defined by:
new GapConfig(UtilJDLCode.getJDLinkGapTextStart, UtilJDLCode.getJDLinkGapTextEnd)
XBN Java is compiled using JDK 1.3.1, and not and not 1.4. The reason for this is because I cannot yet figure out a problem with the 1.4 Standard Doclet. The problem is that every "@
" JavaDoc tag (@param
, @exception
, @return
, ...) is being suppressed--not displaying in the final JavaDoc output.
It's actually pretty simple to upgrade XBN Java to 1.4 (I've done it a few times now), but until I can figure out the JavaDoc problem...
The SplitLinkCode constructor has a listing of legal and illegal examples of JavaDoc Link Codes. Take special note of the following three things, which do not belong in a JavaDoc Link Code...
Excepting "doThis(b)
", all legal examples can be seen for real in the example section above.
Legal: ~JD~over~EJD~#overview_description
Illegal: ~JD~over#overview_description~EJD~
Legal: ~JD~a~EJD~#getString()
Illegal: ~JD~a#getString()~EJD~
javadoc
). Note that single parameter constructors are legal.
When linking to a constructor, or an at-least-one-parameter function within the same class.
Legal: ~JD~doThis(b)~EJD~
Illegal: ~JD~#doThat(b)~EJD~
To get javadoc
working with xbn.jdlcode
:
xbn.jdlcode
additions existing in HtmlStandardWriter.java, ConfigurationStandard.java and XBNDoclet.java (search for "xbn.doclet code"). There are not that many things to do.<target name="javadoc">
)Aside from JavaDoc Link Codes, I've also added "TOP" links to the package-summary.html pages (see the "Class Summary" table above). These are unrelated to xbn.jdlcode, so don't worry about any changes related to this. They are not surrounded by "xbn.jdlcode code", so you should not get confused.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava