Jochen,
I feel that this seperation between DOM and JAXB is rather
artificial. It is good to be able to work with the data in both ways.
For example to be able to get all children of a node and also getFoo().
I also think that to be able to get a parent of a node is critical as
this allows you to receive an object in a function and travers back to
its parents if that enables you to get at for example document wide
values.
Martin Roberts
-----Original Message-----
From: Jochen Wiedmann [mailto:[EMAIL PROTECTED]
Sent: 04 December 2005 22:10
To: Washington, Tim
Cc: [email protected]
Subject: Re: separate files / adders & getters
Washington, Tim wrote:
> 1) I want all generated classes and interfaces to be put into separate
> .java files? Is this possible with JAXB(JAXMe).
No. But what good does that for you? The main purpose of generating
classes is that you should not care for details like that?
> 2) I would like to have adders, finders, removers for child elements
of
> a given node. Is this possible with the JAXB architecture? If so, does
> JAXMe implement that functionality?
No. Seems quite like you are actually looking for DOM, aren't you? The
main purpose of Java/XML binding is using specific methods like setFoo()
or getFoo(). It may be, that Jaxen or a similar tool does help you up to
a certain point.
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]