On 2/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> I am currently working on a tool that uses a java representation of a
> metamodel to generate code. ( http://www.mia-software.com )
> This tool already manages several UML formats (like Rational Rose's mdl, or
> XMI) using a given framework for the java representation of the metamodel.
>
> As I have to extend this tool to support XML Schema format, I found JaxMe
> particulary interresting, but the java code generated uses a different
> framework (the JaxMe JavaSource Framework). So, I need to modify JaxMe to
> have it generates Java code "as I want it to be".

Boy, that's a job you are approaching!

JaxMe was designed for customizing and extending the generated code,
but never for really replacing it. In other words, the use of JaxMeJS
is practically hard coded.

The only practical ideas that I might have:

a) Use the generated code as it is, but generate wrapper classes, that
behave more
than you like. (I did not understand, what's wrong with the generated
classes from your point of view. What do you want more or less?)

b) Use the internal object model, but none of the generator classes.
That can easily be done by overwriting the method SchemaSG.generate().
The obvious problem is that you are loosing a real lot of valuable
functionality.


Jochen



--
If you obey all the rules you miss all the fun. (Katharine Hepburn)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to