org.codehaus.groovy.tools.groovydoc
Class CustomGroovyDoc

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.codehaus.groovy.ant.Groovydoc
              extended by org.codehaus.groovy.tools.groovydoc.CustomGroovyDoc
All Implemented Interfaces:
java.lang.Cloneable

public class CustomGroovyDoc
extends Groovydoc

Overrides GroovyDoc's default class template - for testing purpose only.


Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
CustomGroovyDoc()
           
 
Method Summary
protected  java.lang.String[] getClassTemplates()
          Creates and returns an array of class template classpath entries.
 
Methods inherited from class org.codehaus.groovy.ant.Groovydoc
createLink, execute, getDocTemplates, getPackageTemplates, setAccess, setAuthor, setDestdir, setDoctitle, setExtensions, setFooter, setHeader, setIncludeMainForScripts, setOverview, setPackage, setPackagenames, setPrivate, setProcessScripts, setProtected, setPublic, setSourcepath, setStyleSheetFile, setUse, setWindowtitle
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomGroovyDoc

public CustomGroovyDoc()
Method Detail

getClassTemplates

protected java.lang.String[] getClassTemplates()
Description copied from class: Groovydoc
Creates and returns an array of class template classpath entries.

This method is meant to be overridden by custom GroovyDoc implementations, using custom class templates.

Overrides:
getClassTemplates in class Groovydoc
Returns:
an array of class templates, whereas each entry is resolved as classpath entry, defaults to GroovyDocTemplateInfo.DEFAULT_CLASS_TEMPLATES.