org.apache.maven.doxia.docrenderer.itext
Class AbstractITextRender

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.doxia.docrenderer.itext.AbstractITextRender
All Implemented Interfaces:
DocRenderer, org.codehaus.plexus.logging.LogEnabled
Direct Known Subclasses:
DefaultPdfRenderer, DefaultRtfRenderer

public abstract class AbstractITextRender
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements DocRenderer

Abstract document render with the iText framework

Version:
$Id: AbstractITextRender.java 571131 2007-08-30 12:24:21Z vsiveton $
Author:
Vincent Siveton

Field Summary
protected  org.apache.maven.doxia.Doxia doxia
           
protected  org.apache.maven.doxia.module.site.manager.SiteModuleManager siteModuleManager
           
 
Fields inherited from interface org.apache.maven.doxia.docrenderer.DocRenderer
ROLE
 
Constructor Summary
AbstractITextRender()
           
 
Method Summary
abstract  void generateOutput(java.io.File iTextFile, java.io.File iTextOutput)
          Generate an ouput file with the iText framework
 void render(java.io.File siteDirectory, java.io.File outputDirectory)
          Render all files from a site directory to an output directory
 void render(java.io.File siteDirectory, java.io.File outputDirectory, java.io.File documentDescriptor)
          Render a document depending a context and a document descriptor
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.doxia.docrenderer.DocRenderer
getOutputExtension
 

Field Detail

siteModuleManager

protected org.apache.maven.doxia.module.site.manager.SiteModuleManager siteModuleManager

doxia

protected org.apache.maven.doxia.Doxia doxia
Constructor Detail

AbstractITextRender

public AbstractITextRender()
Method Detail

render

public void render(java.io.File siteDirectory,
                   java.io.File outputDirectory)
            throws DocRendererException,
                   java.io.IOException
Description copied from interface: DocRenderer
Render all files from a site directory to an output directory

Specified by:
render in interface DocRenderer
Parameters:
siteDirectory - the input directory contains files to be generated
outputDirectory - the output directory where files are generated
Throws:
DocRendererException - if any
java.io.IOException - if any
See Also:
DocRenderer.render(java.io.File, java.io.File)

render

public void render(java.io.File siteDirectory,
                   java.io.File outputDirectory,
                   java.io.File documentDescriptor)
            throws DocRendererException,
                   java.io.IOException
Description copied from interface: DocRenderer
Render a document depending a context and a document descriptor

Specified by:
render in interface DocRenderer
Parameters:
siteDirectory - the input directory contains files to be generated
outputDirectory - the output directory where file are generated
documentDescriptor - the document descriptor
Throws:
DocRendererException - if any
java.io.IOException - if any
See Also:
DocRenderer.render(java.io.File, java.io.File, java.io.File)

generateOutput

public abstract void generateOutput(java.io.File iTextFile,
                                    java.io.File iTextOutput)
                             throws DocRendererException,
                                    java.io.IOException
Generate an ouput file with the iText framework

Parameters:
iTextFile -
iTextOutput -
Throws:
DocRendererException - if any
java.io.IOException - if any


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