in reply to Code Generation

I don't think you defined your problem well enough to get detailed advice.

Some points are quite unclear:

Anyways, an intermediate representation for Java code, like for any code really, is a syntax tree. For XML, a good internal representation is the one used by Perl's modules - if your XML isn't too sophisticated, the HoAoH(...) approach of XML::Simple may be what you're looking for.

Replies are listed 'Best First'.
Re^2: Code Generation
by hackdaddy (Hermit) on Dec 16, 2005 at 09:54 UTC
    When I said Esperanto, I meant figuratively an intermediate class that can output both XML and Java.

    I am parsing the method signatures of a Java class and creating XML that describes the signature. I am also creating Java from the signatures to create Java code for another Java class.