We use castordoclet [1] to generate mapping files from doclet tags in
the Java source. This might be worth looking at.
Cheers,
James
[1] http://castordoclet.sourceforge.net/
Kuns, Edward wrote:
From: Jay Goldman [mailto:[EMAIL PROTECTED]
I haven't looked at the implementation of the source generator,
but i was hoping that it built class/file descriptor objects and
then generated the java
Nope, it has an internal representation of Java class structure (in
org.exolab.javasource and org.exolab.castor.builder) and builds the
class structure class by class, method by method, and when completed,
writes these class objects out to disk as *.java files. But it doesn't
truly build a "descriptor object" which is then serialized to disk as
Java source.
Currently, the source generator is designed around the assumption that
it is processing an XSD schema, optionally as modified by a binding
file. This can change, of course, but it's where the code is today.
Eddie
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email