cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Change of the Environment abstraction
Date Sat, 05 Aug 2000 19:52:25 GMT
Giacomo Pati wrote:
> 
> I propose that the Serializer and Reader Interface extend the following
> Interface (as a replacement for the SitemapComponent Interface):
> 
>   package org.apache.cocoon.sitemap;
>   public interface SitemapOutputComponent extends Component {
>     public void setOutputStream(OutputStream out) throws IOException;
>   }

-1

I still believe that a both need a way to describe their mime-type.

   package org.apache.cocoon.sitemap;
   public interface SitemapOutputComponent extends Component {
     public void setOutputStream(OutputStream out) throws IOException;
     public String getMimeType();
   }

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message