commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: digester 2.0 [WAS Re: [digester] [PROPOSAL] More pattern matching flexibility]
Date Tue, 03 Sep 2002 16:52:46 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message