Check out JavaML at
http://www-106.ibm.com/developerworks/java/library/javaml/index.html
this may be an easier way to generate the sax events.
R,
Nick
-----Original Message-----
From: Jeff Martin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 10:28 AM
To: Alexandria-Dev (E-mail)
Subject: JXR2
I've just checked in a proposal for the next version of JXR. Basically, I'm
not happy with some of the internals of JXR and want to move it to an event
based system. Also I'm to lazy to write a java parser so I think that using
something like ANTLR is a good idea.
Following on from the idea of an event based model it struck me that there's
already a fairly good system for handling even based tree info (Java source
files can be looked at as trees) and that's SAX. So the code I've got here
generates SAX events from a Java source file, it's then should be possible
to apply XSL style sheets to them to view the code in different ways e.g.
Javadoc or JXR style. It also seems like quite a good way of handling things
like metrics as people can write DocumentHandlers to listen to documents and
then generate metrics.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]