Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 86685 invoked from network); 13 Mar 2005 16:44:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Mar 2005 16:44:02 -0000 Received: (qmail 41703 invoked by uid 500); 13 Mar 2005 16:43:49 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 41641 invoked by uid 500); 13 Mar 2005 16:43:48 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 41627 invoked by uid 99); 13 Mar 2005 16:43:48 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtprelay01.ispgateway.de (HELO smtprelay01.ispgateway.de) (80.67.18.13) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 13 Mar 2005 08:43:46 -0800 Received: (qmail 29347 invoked from network); 13 Mar 2005 16:43:41 -0000 Received: from unknown (HELO tcn.local) (652696@[217.231.248.108]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 13 Mar 2005 16:43:41 -0000 Received: from localhost (localhost [127.0.0.1]) by tcn.local (Postfix) with ESMTP id C44A31A6D for ; Sun, 13 Mar 2005 17:43:40 +0100 (CET) From: tmp@nitwit.de To: commons-user@jakarta.apache.org Subject: [chain] fixed, one-way chains, only? Date: Sun, 13 Mar 2005 17:43:40 +0100 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503131743.40223.tmp@nitwit.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi! I yet only had an quick look at Commons Chains. Am I right that a GoF/Commons chain does have a fixed one-way flow, only? I want to use the lib in order to parse the iTunesDB which looks like this (http://www.ipodlinux.org/ITunesDB#iTunesDB_file): - This is a database - This is a list holder, which holds either a mhlt or an mhlp - This holds a list of all the songs on the iPod - This describes a particular song ... - These hold strings associated with a song ... - Things like Artist, Song Title, Album, etc. - This is another song. And so on. ... ... ... - Here's the list holder again.. This time, it's holding an mhlp - This holds a bunch of playlists. In fact, all the playlists. - This is a playlist. ... - These mhods hold info about the playlists like the name of the list. ... - This mhip holds a reference to a particular song on the iPod. ... - This is another playlist. And so on. ... - Note that the mhods also hold other things for smart playlists ... ... ... As you can see, it's not mhdb -> mhsd -> mhlt but the flow may also be mhbd -> mhsd -> mhlp. And esp. mhod is used everywhere. So, what I need is something like the struts config. This cannot be done with Commons Chain, can it? --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org