org.apache.maven.doxia.plugin
Class DoxiaRenderBooksMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.doxia.plugin.DoxiaRenderBooksMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class DoxiaRenderBooksMojo
extends org.apache.maven.plugin.AbstractMojo

A Mojo to create books in different output formats.

Since:
1.0
Version:
$Id: DoxiaRenderBooksMojo.java 805701 2009-08-19 08:36:28Z ltheussl $
Author:
Trygve Laugstøl

Field Summary
protected  java.lang.String locales
          A comma separated list of locales supported by Maven.
protected  org.apache.maven.doxia.tools.SiteTool siteTool
          SiteTool.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DoxiaRenderBooksMojo()
           
 
Method Summary
 void execute()
           Executes the Mojo.
protected  java.lang.String getInputEncoding()
          Gets the input files encoding.
protected  java.lang.String getOutputEncoding()
          Gets the effective reporting output files encoding.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

siteTool

protected org.apache.maven.doxia.tools.SiteTool siteTool
SiteTool.


locales

protected java.lang.String locales
A comma separated list of locales supported by Maven. The first valid token will be the default Locale for this instance of the Java Virtual Machine.

Constructor Detail

DoxiaRenderBooksMojo

public DoxiaRenderBooksMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Executes the Mojo.

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getInputEncoding

protected java.lang.String getInputEncoding()
Gets the input files encoding.

Returns:
The input files encoding, never null.
Since:
1.1

getOutputEncoding

protected java.lang.String getOutputEncoding()
Gets the effective reporting output files encoding.

Returns:
The effective reporting output file encoding, never null.
Since:
1.1


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.