Hello Mocky,

If I understood correctly DomMapper allows me to unmarshall some parts
of document as DOM:
    xml   <->    java
 (as text)  (partly as DOM )

But I need something different:

    xml   <->    java                   - that is what I need
 (as DOM)     (my POJOs )

Because I do not want to do unnecessary parsing:

DOM  <->   xml   <->    java            - it is not good!
        (as text)     (my POJOs )



Wednesday, July 20, 2005, 5:06:29 PM, you wrote:

MH> Also, depeding on your neeeds, you may be able to use a DomMapper from
MH> the org.jibx.extras package.

MH> Mocky


MH> -----Original Message-----
MH> From: [EMAIL PROTECTED]
MH> [mailto:[EMAIL PROTECTED] On Behalf Of Andreas
MH> Brenk
MH> Sent: Wednesday, July 20, 2005 9:58 AM
MH> To: [email protected]
MH> Subject: Re: [jibx-users] Java<->DOM instead of Java<->xml stream


MH> Hi Nikita,

MH> it is possible with a custom implementation of the IXMLWriter interface.

MH> I've written one that marshalls into a JDOM Document and officially
MH> contributed it. It is not yet integrated into the main distribution
MH> though. If you need it right away I could send you a recent CVS checkout
MH> with all changes.

MH> Regards,
MH> Andreas

MH> Nikita wrote:
>> Hello jibx-users,
>> 
>>   Is that possible to map java objects to tree structures like DOM and
>>   others?
>> 
>>   I need it to convert java objects into custom binary xml format and
>>   I don't want to do superfluous xml parsing.
>>   




-- 

 Nikita



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to