Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 30106 invoked from network); 14 Nov 2002 22:19:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Nov 2002 22:19:49 -0000 Received: (qmail 24376 invoked by uid 97); 14 Nov 2002 22:20:49 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 24324 invoked by uid 97); 14 Nov 2002 22:20:48 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 24312 invoked by uid 98); 14 Nov 2002 22:20:48 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Thu, 14 Nov 2002 22:19:55 +0000 Subject: Re: [Betwixt] XMLBeanInfo customization Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: robert burrell donkin To: "Jakarta Commons Developers List" Content-Transfer-Encoding: quoted-printable In-Reply-To: Message-Id: <343915C0-F81F-11D6-9943-003065DC754C@blueyonder.co.uk> X-Mailer: Apple Mail (2.482) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N great. i hope to be able to find time this weekend but since i've got some=20 serious partying lined up, it might have to be monday. i think that the code should be pretty straightforward so if you need it=20= sooner, have a go at creating the patch yourself. - robert On Thursday, November 14, 2002, at 06:55 PM, h.dietrich@webfair.com = wrote: > ... the solution you are suggesting would be very nice. I guess this = could > solve all my problems. > > I would provide a proxy object, which can be put in place of a object > (reference). This object has getter and setter methods for a link and = an > object. > The BeanReader and Writer then would just care about the link. The = object > will be read the first time the geter method is called, and the link = will=20 > be > changed, when the object has changed. I just have to make sure, that = the > object is not written either. > > This solution might not be perfect, but it would serve the purpose > initially. > So tell me, if I can support you enabling this feature in Betwixt. > > - Harald > >> -----Urspr=FCngliche Nachricht----- >> Von: robert burrell donkin >> [mailto:robertburrelldonkin@blueyonder.co.uk] >> Gesendet: Donnerstag, 14. November 2002 19:38 >> An: Jakarta Commons Developers List >> Betreff: [Betwixt] XMLBeanInfo customization [WAS Re: AW: [Betwixt] >> Support of user defined XMLBeanInfo?] >> >> >> On Tuesday, November 12, 2002, at 06:45 PM, >> h.dietrich@webfair.com wrote: >> >>> Hi Robert, >> >> hi Harald >> >> >> >>> But anyway I would like to use Betwixt in a more flexible >> way (e.g. having >>> own XMLBeanInfos for some Beans). >> >> >> >>> But on the other hand, if you are interested in making the >> way beans are >>> written and read more flexible I would like to support you. >> For example >>> what >>> is it about the .betwixt files? I could not further >> information about >>> them. >> >> .betwixt files are the way that betwixt allows XMLBeanInfo's to be >> customized. you can do things such as deciding which >> properties are going >> to be mapped to xml etc. there is (some) documentation on >> them on the web >> site (http://jakarta.apache.org/commons/betwixt). >> >> since XMLBeanInfo's were supposed to correspond to >> java.beans.BeanInfo. >> BeanInfo supports programmatic implementations. so if you had >> something >> like xxx.yyy.zzz.FooBean then betwixt might look for a >> xxx.yyy.zzz.FooBeanXMLBeanInfo class which would be a programmatic >> XMLBeanInfo. >> >> i don't know if adding this feature would help you or not. >> >> - robert >> >> >> -- >> To unsubscribe, e-mail: >> >> For additional commands, e-mail: >> >> > > -- > To unsubscribe, e-mail: = org> > For additional commands, e-mail: = org> > -- To unsubscribe, e-mail: For additional commands, e-mail: