cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: [proposal] some changestoSourceResolver.resolve(baseURI,location, params)
Date Mon, 26 May 2003 12:51:36 GMT
Bruno Dumon wrote:
> Ok, back to the new-interface approach: rather than using an
> ExtendedSourceFactory interface, how about letting the SourceFactory
> optionally implement an additional interface, URIAbsolutizer. If
> present, that interface will be asked to perform the uri-absolutizing
> process, otherwise the default method will be used.
> 
> The interface would thus look like:
> 
> public interface URIAbsolutizer {
>   public String absolutize(String baseURI, String location);
> }
> 
> The difference with ExtendedSourceFactory is that this one will only be
> implemented in case the absolutize-strategy differs from the default
> behaviour, while ExtendedSourceFactory more sounds like a successor to
> the current SourceFactory.
> 
+1, I like it :)

Carsten

Mime
View raw message