org.codehaus.mojo.docbook
Class DocumentTransformer
java.lang.Object
org.codehaus.mojo.docbook.DocumentTransformer
public class DocumentTransformer
- extends java.lang.Object
A helper class for transforming DocBook documents into different output formats.
- Author:
- jgonzalez, Lars Trieloff
Constructor Summary |
DocumentTransformer(org.apache.maven.plugin.logging.Log log,
java.io.File sourceDirectory,
java.io.File resourceDirectory,
java.io.File databaseDirectory,
java.io.File outputDirectory,
java.net.URI stylesheetLocation,
java.util.Map customizations,
java.util.Collection artifacts)
|
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 java.io.File sourceDirectory
resourceDirectory
protected java.io.File resourceDirectory
databaseDirectory
protected java.io.File databaseDirectory
outputDirectory
protected java.io.File outputDirectory
stylesheetLocation
protected java.net.URI stylesheetLocation
DocumentTransformer
public DocumentTransformer(org.apache.maven.plugin.logging.Log log,
java.io.File sourceDirectory,
java.io.File resourceDirectory,
java.io.File databaseDirectory,
java.io.File outputDirectory,
java.net.URI stylesheetLocation,
java.util.Map customizations,
java.util.Collection artifacts)
- Parameters:
log
- sourceDirectory
- outputDirectory
- customizations
- artifacts
-
transform
public void transform()
transform
public void transform(TransformProfile transformProfile)
- Parameters:
transformProfile
-
prepareFileSystem
protected void prepareFileSystem(java.lang.String[] docbookFiles)
- Parameters:
docbookFiles
-
transformDocuments
protected void transformDocuments(java.util.Set docbookFiles,
TransformProfile transformProfile)
pathToResources
protected java.lang.String pathToResources(java.lang.String relativePath)
enableOutputFormat
public void enableOutputFormat(java.lang.String format)
- Enables a specified output format.
- Parameters:
format
- the format
Copyright © 2010 OPEN input. All Rights Reserved.