users@jaxb.java.net

RE: Re: XSD Data types

From: <HeruMartinus.Salim_at_infineon.com>
Date: Tue, 14 Nov 2006 12:18:45 +0100

 

-----Original Message-----
From: Aleksei Valikov [mailto:valikov_at_gmx.net]
Sent: Tuesday, November 14, 2006 11:58 AM
To: users_at_jaxb.dev.java.net
Subject: Re: XSD Data types

Hi.

> Thanks Lexi, Kohsuke,
>
> I think I need to learn a lot of things. :-) Great...
> 1 more question.
> Can I add an import statement on the generated code? Because I inject
> a code to my generated Code using co.implClass.direct() API, which
> containing util classes such as Iterator, List, etc. And maybe would
> like to add few more classes. Or maybe is there any better way to
> inject code?

Lexi: I generally dislike direct() code generation.

Heru: What are the other alternatives?

Lexi: As far as I know, you can't explicitly defined an import statement
- seems like you'll need to use FQ class names.

Heru: What is that FQ class names? How can I use it?

Heru: Thanks