org.apache.maven.doxia.book.services.renderer
Class AbstractITextBookRenderer
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.doxia.book.services.renderer.AbstractITextBookRenderer
- All Implemented Interfaces:
- BookRenderer, org.codehaus.plexus.logging.LogEnabled
- Direct Known Subclasses:
- PdfBookRenderer, RtfBookRenderer
public abstract class AbstractITextBookRenderer
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements BookRenderer
Base class for iText
renderer.
- Version:
- $Id: AbstractITextBookRenderer.java 1003021 2010-09-30 11:51:11Z ltheussl $
- Author:
- Trygve Laugstøl, Vincent Siveton
Fields inherited from interface org.apache.maven.doxia.book.services.renderer.BookRenderer |
ROLE |
Method Summary |
abstract java.lang.String |
getOutputExtension()
Get the output extension supported. |
void |
renderBook(BookContext context)
Render a book. |
abstract void |
renderXML(java.io.File iTextFile,
java.io.File iTextOutput)
Generate an ouput file with the iText framework. |
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 |
AbstractITextBookRenderer
public AbstractITextBookRenderer()
renderBook
public void renderBook(BookContext context)
throws BookDoxiaException
- Render a book.
- Specified by:
renderBook
in interface BookRenderer
- Parameters:
context
- the BookContext.
- Throws:
BookDoxiaException
- if the book cannot be rendered.
getOutputExtension
public abstract java.lang.String getOutputExtension()
- Get the output extension supported.
- Returns:
- the ouput extension supported.
renderXML
public abstract void renderXML(java.io.File iTextFile,
java.io.File iTextOutput)
throws java.io.IOException
- Generate an ouput file with the iText framework.
- Parameters:
iTextFile
- the input file.iTextOutput
- the output file.
- Throws:
java.io.IOException
- if any.
Copyright © 2005-2011. All Rights Reserved.