org.apache.maven.doxia.siterenderer
Interface DocumentRenderer

All Known Implementing Classes:
DoxiaDocumentRenderer

public interface DocumentRenderer

Renders a page.

Author:
Brett Porter

Method Summary
 java.lang.String getOutputName()
          The name of the output document.
 org.apache.maven.doxia.module.xhtml.decoration.render.RenderingContext getRenderingContext()
          Return the RenderingContext.
 boolean isOverwrite()
          Whether to always overwrite the document, or only do so when it is changed.
 void renderDocument(java.io.Writer writer, Renderer renderer, SiteRenderingContext siteRenderingContext)
          Render a document.
 

Method Detail

renderDocument

public void renderDocument(java.io.Writer writer,
                           Renderer renderer,
                           SiteRenderingContext siteRenderingContext)
                    throws RendererException,
                           java.io.FileNotFoundException,
                           java.io.UnsupportedEncodingException
Render a document.

Parameters:
writer -
renderer -
siteRenderingContext -
Throws:
RendererException - if it bombs.
java.io.FileNotFoundException - if it bombs.
java.io.UnsupportedEncodingException - if it bombs.

getOutputName

public java.lang.String getOutputName()
The name of the output document.

Returns:
the name of the output document.

getRenderingContext

public org.apache.maven.doxia.module.xhtml.decoration.render.RenderingContext getRenderingContext()
Return the RenderingContext.

Returns:
RenderingContext.

isOverwrite

public boolean isOverwrite()
Whether to always overwrite the document, or only do so when it is changed.

Returns:
whether to overwrite


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.