Package org.forgerock.doc.maven.build
Class Fo
java.lang.Object
org.forgerock.doc.maven.build.Fo
Build FO output formats.
-
Constructor Summary
ConstructorsConstructorDescriptionFo
(AbstractDocbkxMojo mojo) Constructor setting the Mojo that holds the configuration. -
Method Summary
-
Constructor Details
-
Fo
Constructor setting the Mojo that holds the configuration.- Parameters:
mojo
- The Mojo that holds the configuration.
-
-
Method Details
-
getFormat
Get the format. Defaults to PDF unless the format has been set to RTF.- Returns:
- The format, either "pdf" or "rtf".
-
setFormat
Set the format to PDF or RTF. Defaults to PDF unless RTF is specified (case does not matter).- Parameters:
format
- Eitherpdf
orrtf
.
-
execute
Build documents from DocBook XML sources.- Throws:
org.apache.maven.plugin.MojoExecutionException
- Failed to build output.
-