Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 6772 invoked from network); 14 Nov 2002 18:59:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Nov 2002 18:59:04 -0000 Received: (qmail 16847 invoked by uid 97); 14 Nov 2002 19:00:01 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 16831 invoked by uid 97); 14 Nov 2002 19:00:01 -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 16817 invoked by uid 98); 14 Nov 2002 19:00:00 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: h.dietrich@webfair.com To: commons-dev@jakarta.apache.org Subject: AW: [Betwixt] XMLBeanInfo customization [WAS Re: AW: [Betwixt] Su pport of user defined XMLBeanInfo?] Date: Thu, 14 Nov 2002 19:55:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ... 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 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=20 > [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?] >=20 >=20 > On Tuesday, November 12, 2002, at 06:45 PM,=20 > h.dietrich@webfair.com wrote: >=20 > > Hi Robert, >=20 > hi Harald >=20 > >=20 > > But anyway I would like to use Betwixt in a more flexible=20 > way (e.g. having > > own XMLBeanInfos for some Beans). >=20 > >=20 > > But on the other hand, if you are interested in making the=20 > way beans are > > written and read more flexible I would like to support you.=20 > For example=20 > > what > > is it about the .betwixt files? I could not further=20 > information about=20 > > them. >=20 > .betwixt files are the way that betwixt allows XMLBeanInfo's to be=20 > customized. you can do things such as deciding which=20 > properties are going=20 > to be mapped to xml etc. there is (some) documentation on=20 > them on the web=20 > site (http://jakarta.apache.org/commons/betwixt). >=20 > since XMLBeanInfo's were supposed to correspond to=20 > java.beans.BeanInfo.=20 > BeanInfo supports programmatic implementations. so if you had=20 > something=20 > like xxx.yyy.zzz.FooBean then betwixt might look for a=20 > xxx.yyy.zzz.FooBeanXMLBeanInfo class which would be a programmatic=20 > XMLBeanInfo. >=20 > i don't know if adding this feature would help you or not. >=20 > - robert >=20 >=20 > -- > To unsubscribe, e-mail: =20 > > For additional commands, e-mail:=20 > >=20 -- To unsubscribe, e-mail: For additional commands, e-mail: