You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Washington, Tim" <ti...@lehman.com> on 2005/12/04 23:00:38 UTC
separate files / adders & getters
Hello, I am working on a project that requires XML/Java binding and
decided to investigate JAXB. I'm new to the JAXB architecture, and as
there is not too much documentation, I'm playing around with the
features and have a few questions.
1) I want all generated classes and interfaces to be put into separate
.java files? Is this possible with JAXB(JAXMe).
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?
I've scanned the mailing list archive and didn't quite see this topic
broached. Has anyone come across these issues? Thanks in advance.
/ tim
------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
--------
IRS Circular 230 Disclosure:
Please be advised that any discussion of U.S. tax matters contained within this communication (including any attachments) is not intended or written to be used and cannot be used for the purpose of (i) avoiding U.S. tax related penalties or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org
Re: separate files / adders & getters
Posted by Jochen Wiedmann <jo...@gmail.com>.
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: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org