We offer a tool called DocFlex/Javadoc, which is already mentioned here by Glen Best (although a little bit incorrectly).
But before going deep into this, I would like to provide some intro to what this is all about.
Basically, Javadoc (that is provided by JDK) is a caller of two things:
- The Java parser
- A doclet
Javadoc starts by calling the Java parser to collect information about Java sources, from which it builds a DOM-like structure represented in the form of Doclet API.
Then, it calls a doclet. This is a Javadoc plug-in that uses Doclet API as a data-source to generate by it any kind of output.
What you see as the standard JavaDoc is generate by the Standard Doclet.
So, you can imagine that doclet is the largest part of the whole Javadoc implementation.
Now, about our DocFlex/Javadoc software.
Essentially, it is a tool for fast development of special doclets, which utilizes
our much more general technology for template-driven documentation generators.
(Actually, our focus is rather away from Javadoc stuff. So, it is more a by-product of the main thing).
In our interpretation, the doclets themselves (as documentation generators) are programmed in the form of special template sets. Those templates are more akin to XSLT scripts, but conceptualy only (we do not use XSLT somewhere in background).
The DOM-like organization of the Doclet API allowed us to utilize an XSLT/XPath-like approach general to our technology.
So, each doclet consists of two things:
- The template interpretor
- A template set
Here, the template set is an interchangable part (which is actually the focus of our tool).
Currently, we provide a ready-to-use JavadocPro template set, which generates HTML output equivalent to the standard JavaDocs (with some important extra-features not available in the Standard Doclet). Here, you can see a demo JavaDoc generated with it:
The whole DocFlex/Javadoc is a commercial product.
But we also provide a light edition of it called DocFlex/Doclet, which is free.
It includes only template interpreter and some ready template sets (including JavadocPro). So, you can use it to generate JavaDoc very similar to the standard one (in HTML) as well as RTF documentation.
Now, concerning the main question. Can our tool be used without JDK?
No. Because, as being a Javadoc plug-in (the doclet part of our tool), it still needs Javadoc.
On the other hand, what is missing to make it fully JDK independent is a Java parser,
and we don't need a full-blown Java parser at that, because we are not generating an executable code.
What we need is something lightweight, able to build a structure like Doclet API.
If we knew what a demand for such a thing might be, we could consider developing one.
Any further questions? Let us know by email (found on our website)!