Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 61349 invoked from network); 7 Apr 2003 16:17:07 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 7 Apr 2003 16:17:07 -0000 Received: (qmail 22383 invoked by uid 97); 7 Apr 2003 16:19:01 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 22376 invoked from network); 7 Apr 2003 16:19:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 7 Apr 2003 16:19:00 -0000 Received: (qmail 61096 invoked by uid 500); 7 Apr 2003 16:17:05 -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 61085 invoked from network); 7 Apr 2003 16:17:04 -0000 Received: from pcow057o.blueyonder.co.uk (HELO blueyonder.co.uk) (195.188.53.94) by daedalus.apache.org with SMTP; 7 Apr 2003 16:17:04 -0000 Received: from localhost ([80.194.24.21]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Mon, 7 Apr 2003 17:17:07 +0100 Date: Mon, 7 Apr 2003 17:17:52 +0100 Subject: Re: cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression ClassNameExpression.java Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: robert burrell donkin To: "Jakarta Commons Developers List" Content-Transfer-Encoding: 7bit In-Reply-To: <0F16292D-6913-11D7-AEB2-000A959D0312@yahoo.co.uk> Message-Id: <7BE1BE41-6914-11D7-8DB6-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 On Monday, April 7, 2003, at 05:07 PM, James Strachan wrote: > On Monday, April 7, 2003, at 04:59 PM, robert burrell donkin wrote: > >> hi james >> >> On Thursday, March 20, 2003, at 07:29 PM, jstrachan@apache.org wrote: >> >>> jstrachan 2003/03/20 11:29:07 >>> >>> Modified: betwixt/src/java/org/apache/commons/betwixt/io >>> BeanRuleSet.java BeanCreateRule.java >>> Added: betwixt/src/test/org/apache/commons/betwixt/derived >>> EmployeeBean.java PersonListBean.java >>> TestDerived.java PersonBean.java person-list.xml >>> ManagerBean.java >>> betwixt/src/java/org/apache/commons/betwixt/expression >>> ClassNameExpression.java >>> Log: >>> Added provisional support to allow bean types to be customized by the >>> presence of a 'className' attribute. >>> >>> Its fairly simple and only works for parsing of beans right now. We >>> need to add this customization feature to the ElementDescriptors so >>> that this can be enabled as required and >>> then used to auto-default an AttributeDescriptor with a >>> ClassNameExpression so that the output of the bean will also convey the >>> className attribute again. >>> >>> Also the attribute used to describe the class name should be >>> configurable. >> >> just so i'm clear, this means that an attribute of the xml being parsed >> is used to specify the class to be constructed, right? >> >> so what we'd need to do to make it configurable is to add another >> attribute to the .betwixt file that allows the attribute to use to be >> specfied. > > Yes. cool. i should have a bit more coding time over the next few weeks so maybe we can push betwixt on a bit. - robert --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org