public abstract class AbstractProcessor extends java.lang.Object
| Constructor and Description | 
|---|
AbstractProcessor()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
adaptSections(java.lang.String documentation,
             int rootLevel)  | 
protected void | 
addModule(ModuleDocumentation module)  | 
java.nio.file.Path | 
docFile(org.eclipse.golo.doc.DocumentationElement doc)
Return the absolute path of the file containing the given element. 
 | 
protected java.lang.String | 
fileExtension()  | 
java.nio.file.Path | 
getTargetFolder()  | 
java.lang.String | 
linkToFile(org.eclipse.golo.doc.DocumentationElement src,
          java.lang.String dst)
Returns the link to the given filename from the given document. 
 | 
java.lang.String | 
linkToFile(java.lang.String src,
          java.lang.String dst)
Returns the link to the given filename from the given filename. 
 | 
java.util.Set<ModuleDocumentation> | 
modules()  | 
java.nio.file.Path | 
outputFile(java.lang.String name)  | 
abstract void | 
process(java.util.Map<java.lang.String,ModuleDocumentation> modules,
       java.nio.file.Path targetFolder)  | 
abstract java.lang.String | 
render(ModuleDocumentation module)  | 
protected void | 
renderIndex(java.lang.String templateName)  | 
void | 
setTargetFolder(java.nio.file.Path target)  | 
protected FunctionReference | 
template(java.lang.String name,
        java.lang.String format)  | 
public AbstractProcessor()
public abstract java.lang.String render(ModuleDocumentation module) throws java.lang.Throwable
java.lang.Throwablepublic abstract void process(java.util.Map<java.lang.String,ModuleDocumentation> modules, java.nio.file.Path targetFolder) throws java.lang.Throwable
java.lang.Throwablepublic void setTargetFolder(java.nio.file.Path target)
public java.nio.file.Path getTargetFolder()
public java.util.Set<ModuleDocumentation> modules()
protected void addModule(ModuleDocumentation module)
protected java.lang.String fileExtension()
protected FunctionReference template(java.lang.String name, java.lang.String format) throws java.io.IOException
java.io.IOExceptionpublic java.nio.file.Path outputFile(java.lang.String name)
public java.nio.file.Path docFile(org.eclipse.golo.doc.DocumentationElement doc)
public java.lang.String linkToFile(org.eclipse.golo.doc.DocumentationElement src, java.lang.String dst)
public java.lang.String linkToFile(java.lang.String src, java.lang.String dst)
protected void renderIndex(java.lang.String templateName) throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String adaptSections(java.lang.String documentation, int rootLevel)