public class DoxiaDocumentRenderer extends Object implements DocumentRenderer
Constructor and Description |
---|
DoxiaDocumentRenderer(RenderingContext renderingContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getOutputName()
The name of the output document.
|
RenderingContext |
getRenderingContext()
Return the RenderingContext of the document.
|
boolean |
isOverwrite()
Whether to always overwrite the document, or only do so when it is changed.
|
void |
renderDocument(Writer writer,
Renderer renderer,
SiteRenderingContext siteRenderingContext)
Render a document.
|
public DoxiaDocumentRenderer(RenderingContext renderingContext)
renderingContext
- the document's RenderingContext to use.public void renderDocument(Writer writer, Renderer renderer, SiteRenderingContext siteRenderingContext) throws RendererException, FileNotFoundException, UnsupportedEncodingException
renderDocument
in interface DocumentRenderer
writer
- the Writer.renderer
- the Renderer.siteRenderingContext
- the SiteRenderingContext.RendererException
- if it bombs.FileNotFoundException
- if it bombs.UnsupportedEncodingException
- if it bombs.public String getOutputName()
getOutputName
in interface DocumentRenderer
public RenderingContext getRenderingContext()
getRenderingContext
in interface DocumentRenderer
public boolean isOverwrite()
isOverwrite
in interface DocumentRenderer
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.