Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 83724 invoked from network); 3 Sep 2002 16:52:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Sep 2002 16:52:58 -0000 Received: (qmail 9647 invoked by uid 97); 3 Sep 2002 16:53:20 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 9552 invoked by uid 97); 3 Sep 2002 16:53:19 -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 9422 invoked by uid 98); 3 Sep 2002 16:53:18 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3D74E8DE.50000@gmx.de> Date: Tue, 03 Sep 2002 18:52:46 +0200 From: Christopher Lenz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: digester 2.0 [WAS Re: [digester] [PROPOSAL] More pattern matching flexibility] References: <2B65F403-BEC0-11D6-8363-003065DC754C@blueyonder.co.uk> <3D74BF9B.8010704@gmx.de> <20020903164316.GA4546@honk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Stefan, Stefan Heimann wrote: [...] > The idea is great. What I don't like is that the matcher has to deal > with collection the information. I think its better to separate the > collection of information and the matching algorithm. What about > > public interface Matcher { > > // .. > > /** > * Returns the content handler that is used to collect > * the information which is needed for matching. > */ > public ContentHandler getInformationCollector(); > } > That makes a lot of sense, although I'd just call the method Matcher.getContentHandler(). -- Christopher Lenz /=/ cmlenz at gmx.de -- To unsubscribe, e-mail: For additional commands, e-mail: