Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] Convoluted Document Construction on b10

Stefano Santoro

2004-03-31

Replies:

Hi,

I have been an avid fan of jdom-b9. I have recommended
many of the vendors we work with to support jdom directly,
and pushing all of my teams members that participate on
various JSRs (XQuery, and JAXB) to champion further
integration with JDOM.

So I was a bit taken back when I found out that JDOM b10
no longer support elegant document constructions like this one

    Element webel = new Element("web-email", _wenfns);

 webel.addContent
  (new Element("message-id", _wenfns)
   .addContent( Long.toString(req.getLegacyId())))
  .addContent
  (new Element( "sender", _wenfns)
    .setAttribute( "address", req.getSender())
    .addContent( "A Sender Dude"))
  .addContent
  (new Element( "recipient", _wenfns)
   .setAttribute( "address", req.getRecipient())
   .addContent( "A Recipient Dude"))
  .addContent
  (new Element( "subject", _wenfns)
   .addContent(req.getSubject()));

Is this a planned disruption? Or is this being addressed?

Ciao
Stefano

--
Stefano Santoro <Stefano.Santoro@(protected)>
Java Platform, Messaging Architect
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.