org.apache.cocoon.sitemap
Interface SitemapOutputComponent

All Superinterfaces:
org.apache.avalon.framework.component.Component
All Known Subinterfaces:
Reader, Serializer

public interface SitemapOutputComponent
extends org.apache.avalon.framework.component.Component

Version:
CVS $Id: SitemapOutputComponent.java,v 1.4 2002/02/22 07:03:55 cziegeler Exp $
Author:
Giacomo Pati, Carsten Ziegeler

Method Summary
 java.lang.String getMimeType()
          Get the mime-type of the output of this Component.
 void setOutputStream(java.io.OutputStream out)
          Set the OutputStream where the requested resource should be serialized.
 boolean shouldSetContentLength()
          Test if the component wants to set the content length
 

Method Detail

setOutputStream

public void setOutputStream(java.io.OutputStream out)
                     throws java.io.IOException
Set the OutputStream where the requested resource should be serialized.

getMimeType

public java.lang.String getMimeType()
Get the mime-type of the output of this Component.

shouldSetContentLength

public boolean shouldSetContentLength()
Test if the component wants to set the content length


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.