cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Distinction of factory and normal Matcher/Selector
Date Mon, 21 May 2001 15:27:36 GMT
Quoting Sylvain Wallez <sylvain.wallez@anyware-tech.com>:

> 
> 
> giacomo a écrit :
> > 
> > Is there a need to distinguish in the sitemap CodeFactory classes from
> > "normal" classes? Now we can write
> > 
> >    <map:matcher name="..." src="my.own.Matcher"/>
> > or
> >    <map:matcher name="..." factory="my.own.MatcherFactory"/>
> > 
> > Because the sitemap.xsl is able to determine the implemented interface
> > of its own (and doesn't need a hint by using different attribute) I
> > don't see any further need to have the factory attribute.
> > 
> > Should I remove the factory attribute?
> > 
> > Giacomo
> > 
> +1. Remove all that can confuse the user or break consistency 

Already done :)

> (what if
> someone uses 'src' with a factory ?) !

No problem since months. The extension classes used in the sitemap.xsl 
determines the interfaces implemented. 

Giacomo

> -- 
> Sylvain Wallez
> Anyware Technologies - http://www.anyware-tech.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message