Jacob Lauemøller wrote:
>
> Another great customization would be to have xjc generate constructors that
> took all required values (in addition to the empty default ctor). In this way
> it would be slightly easier to build JAXB stuctures programmatically. Right
> now I have to instantiate the right *Impl class and then invoke setters as
> needed. Perhaps emitting a seperate factory class instead of a ctor would be
> a better idea?
>
> Apart from this, JAXB works really well for us -- it's fast and much, much
> easier to use than e.g. the Axis generated classes. Keep up the good work!
>
> Kind regards,
> Jacob
maybe i'm misunderstanding something. is there some reason you can't use
the factory methods from the JAXBContext, or it's slightly friendlier
child the ObjectFactory, in whatever package you've generated classes in
to construct things?
jon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net