org.apache.maven.doxia.book.services.indexer
Class DefaultBookIndexer

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.doxia.book.services.indexer.DefaultBookIndexer
All Implemented Interfaces:
BookIndexer, org.codehaus.plexus.logging.LogEnabled

public class DefaultBookIndexer
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements BookIndexer

Default implementation of BookIndexer.

Version:
$Id: DefaultBookIndexer.java 1090706 2011-04-09 23:15:28Z hboutemy $
Author:
Trygve Laugstøl
Plexus component

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.book.services.indexer.BookIndexer
ROLE
 
Constructor Summary
DefaultBookIndexer()
           
 
Method Summary
 void indexBook(BookModel book, BookContext bookContext)
          Index a book.
 
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
 

Constructor Detail

DefaultBookIndexer

public DefaultBookIndexer()
Method Detail

indexBook

public void indexBook(BookModel book,
                      BookContext bookContext)
               throws BookDoxiaException
Index a book.

Specified by:
indexBook in interface BookIndexer
Parameters:
book - the book to index.
bookContext - the BookContext.
Throws:
BookDoxiaException - if the book cannot be indexed.


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