public class GroovyDocWriter
extends Object
Write GroovyDoc resources to destination.
| Constructor and description |
|---|
GroovyDocWriter(GroovyDocTool tool, OutputTool output, GroovyDocTemplateEngine templateEngine, Properties properties) |
GroovyDocWriter(OutputTool output, GroovyDocTemplateEngine templateEngine, Properties properties)Creates a writer with no source-path information (resource files will not be copied). |
GroovyDocWriter(OutputTool output, GroovyDocTemplateEngine templateEngine, Properties properties, String[] sourcepaths)Creates a writer with source-path information used to locate and mirror resource directories. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
writeClassToOutput(GroovyClassDoc classDoc, String destdir)Writes the HTML page for a single class doc if its visibility matches the configured scope. |
|
public void |
writeClasses(GroovyRootDoc rootDoc, String destdir)Writes HTML for every class in the root doc to the destination directory. |
|
public void |
writePackageToOutput(GroovyPackageDoc packageDoc, String destdir)Writes all package-level template output for a single package doc to the destination directory. |
|
public void |
writePackages(GroovyRootDoc rootDoc, String destdir)Writes package-level HTML pages and the package-list file to the destination directory. |
|
public void |
writeRoot(GroovyRootDoc rootDoc, String destdir)Creates the output area and writes the root-level documentation pages. |
|
public void |
writeRootDocToOutput(GroovyRootDoc rootDoc, String destdir)Writes each root-level template to the destination directory, skipping disabled pages and copying binary resources verbatim. |
Creates a writer with no source-path information (resource files will not be copied).
Creates a writer with source-path information used to locate and mirror resource directories.
Writes the HTML page for a single class doc if its visibility matches the configured scope.
Writes HTML for every class in the root doc to the destination directory.
Writes all package-level template output for a single package doc to the destination directory.
Writes package-level HTML pages and the package-list file to the destination directory.
Creates the output area and writes the root-level documentation pages.
Writes each root-level template to the destination directory, skipping disabled pages and copying binary resources verbatim.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.