|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAbstractLogEnabled
org.apache.maven.doxia.book.DefaultBookDoxia
public class DefaultBookDoxia
Default implementation of BookDoxia.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.doxia.book.BookDoxia |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultBookDoxia()
|
|
| Method Summary | |
|---|---|
java.util.Set |
getAvailableBookRenderers()
Returns a Set of ids of the BookRenderers that are available in this BookDoxia. |
BookModel |
loadBook(java.io.File bookDescriptor)
Load a BookModel from a descriptor file. |
void |
renderBook(BookModel book,
java.lang.String bookRendererId,
java.util.List files,
java.io.File outputDirectory)
Creates a book from a BookModel using the Locale.getDefault() and UTF-8 as default encoding. |
void |
renderBook(BookModel book,
java.lang.String bookRendererId,
java.util.List files,
java.io.File outputDirectory,
java.util.Locale locale,
java.lang.String inputEncoding,
java.lang.String outputEncoding)
Creates a book from a BookModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultBookDoxia()
| Method Detail |
|---|
public BookModel loadBook(java.io.File bookDescriptor)
throws BookDoxiaException
loadBook in interface BookDoxiabookDescriptor - the book descriptor file.
BookDoxiaException - if the model cannot be loaded.
public void renderBook(BookModel book,
java.lang.String bookRendererId,
java.util.List files,
java.io.File outputDirectory)
throws BookDoxiaException
Locale.getDefault() and UTF-8 as default encoding.
renderBook in interface BookDoxiabook - the BookModel.bookRendererId - the id of the output format.files - a list of source files.outputDirectory - the output directory.
BookDoxiaException - if the model cannot be loaded.BookDoxia.renderBook(BookModel, String, List, File, Locale, String, String),
Locale.getDefault()
public void renderBook(BookModel book,
java.lang.String bookRendererId,
java.util.List files,
java.io.File outputDirectory,
java.util.Locale locale,
java.lang.String inputEncoding,
java.lang.String outputEncoding)
throws BookDoxiaException
renderBook in interface BookDoxiabook - the BookModel.bookRendererId - the id of the output format.files - a list of source files.outputDirectory - the output directory.locale - the wanted locale.inputEncoding - the input encoding when processing files.outputEncoding - the output encoding when writing files in ouputDirectory.
BookDoxiaException - if the model cannot be loaded.public java.util.Set getAvailableBookRenderers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||