Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 93426 invoked from network); 9 Aug 2005 23:50:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2005 23:50:48 -0000 Received: (qmail 68175 invoked by uid 500); 9 Aug 2005 23:50:43 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 67918 invoked by uid 500); 9 Aug 2005 23:50:42 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 67905 invoked by uid 99); 9 Aug 2005 23:50:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 16:50:42 -0700 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=RCVD_BY_IP,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gcjcu-commons-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 16:51:03 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1E2drL-0007p2-Vj for commons-user@jakarta.apache.org; Wed, 10 Aug 2005 01:50:16 +0200 Received: from 209.161.117.10 ([209.161.117.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Aug 2005 01:50:15 +0200 Received: from hesenrre by 209.161.117.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Aug 2005 01:50:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: commons-user@jakarta.apache.org From: Demetrio Cruz Subject: Betwixt suppresing a property Date: Tue, 09 Aug 2005 18:38:34 -0500 Organization: LainSoft Foundation Lines: 67 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.161.117.10 User-Agent: KNode/0.9.1 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi. Sorry I have a problem, I have a bean which I want to write with the BeanWriter of betwixt, the bean is something like public class Container{ private List elements; public List getElements(){ return elements; } public List getTrashElements(){ return ... } public List getRadioactiveElements(){ return ... } public void addTrashElement(Element e){ elements.add(e); } public void addRadioactiveElement(Element e){ elements.add(e); } } The problem here is that when I generate the xml, it writes the trash and radioactive elements in its own tags, but it repeats all of the encapsulated in a elements tag ... ... ... ... is there any way via Container.betwixt file to tell betwixt to omit the getElements() method to be printed in the output ?? -- "That language is an instrument of human reason, and not merely a medium for the expression of thought, is a truth generally admitted." - George Boole, quoted in Iverson's Turing Award Lecture --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org