org.codehaus.mojo.docbook
Class DocumentTransformer
java.lang.Object
org.codehaus.mojo.docbook.DocumentTransformer
public class DocumentTransformer
- extends Object
A helper class for transforming DocBook documents into different output formats.
- Author:
- jgonzalez, Lars Trieloff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.apache.maven.plugin.logging.Log log
sourceDirectory
protected File sourceDirectory
resourceDirectory
protected File resourceDirectory
databaseDirectory
protected File databaseDirectory
outputDirectory
protected File outputDirectory
stylesheetLocation
protected URI stylesheetLocation
DocumentTransformer
public DocumentTransformer(org.apache.maven.plugin.logging.Log log,
File sourceDirectory,
File resourceDirectory,
File databaseDirectory,
File outputDirectory,
URI stylesheetLocation,
Map customizations,
Collection artifacts)
- Parameters:
log
- sourceDirectory
- outputDirectory
- customizations
- artifacts
-
transform
public void transform()
transform
public void transform(TransformProfile transformProfile)
- Parameters:
transformProfile
-
prepareFileSystem
protected void prepareFileSystem(String[] docbookFiles)
- Parameters:
docbookFiles
-
transformDocuments
protected void transformDocuments(Set docbookFiles,
TransformProfile transformProfile)
pathToResources
protected String pathToResources(String relativePath)
enableOutputFormat
public void enableOutputFormat(String format)
- Enables a specified output format.
- Parameters:
format
- the format
Copyright © 2011 OPEN input. All Rights Reserved.