| java.lang.Object org.java.plugin.tools.docgen.DocGenerator
DocGenerator | final public class DocGenerator (Code) | | Tool class to generate documentation for plug-ins using JXP templates.
version: $Id$ |
Inner Class :final public static class Tool | |
DocGenerator | public DocGenerator(PluginRegistry aRegistry, PathResolver aPathResolver) throws Exception(Code) | | Constructs generator configured to use pre-defined set of templates.
Parameters: aRegistry - plug-ins registry Parameters: aPathResolver - path resolver throws: Exception - if an error has occurred |
DocGenerator | public DocGenerator(PluginRegistry aRegistry, PathResolver aPathResolver, String templatesPath, String templatesEncoding) throws Exception(Code) | | Constructs generator configured to use custom templates available in the
classpath.
Parameters: aRegistry - plug-ins registry Parameters: aPathResolver - path resolver Parameters: templatesPath - path to templates (should be available in classpath) Parameters: templatesEncoding - templates characters encoding, if null , systemdefault will be used throws: Exception - if an error has occurred |
DocGenerator | public DocGenerator(PluginRegistry aRegistry, PathResolver aPathResolver, File templatesFolder, String templatesEncoding) throws Exception(Code) | | Constructs generator configured to use custom templates located somewhere
in the local file system.
Parameters: aRegistry - plug-ins registry Parameters: aPathResolver - path resolver Parameters: templatesFolder - folder with templates Parameters: templatesEncoding - templates characters encoding, if null , systemdefault will be used throws: Exception - if an error has occurred |
generate | public void generate(File destDir) throws Exception(Code) | | Generates documentation for all registered plug-ins.
Parameters: destDir - target folder throws: Exception - if an error has occurred |
getDocumentationOverview | public String getDocumentationOverview()(Code) | | documentation overview HTML content |
getOutputEncoding | public String getOutputEncoding()(Code) | | output files encoding name |
getStylesheet | public String getStylesheet()(Code) | | CSS style sheet content |
setDocumentationOverview | public void setDocumentationOverview(String aDocumentationOverview)(Code) | | Parameters: aDocumentationOverview - documentation overview HTML content |
setOutputEncoding | public void setOutputEncoding(String encoding)(Code) | | Parameters: encoding - output files encoding name (default is UTF-8) |
setStylesheet | public void setStylesheet(String aStylesheet)(Code) | | Parameters: aStylesheet - CSS style sheet content |
|
|