net.sf.javadocbuilder.extensions
Class Manager
java.lang.Object
|
+--net.sf.javadocbuilder.extensions.Manager
- public class Manager
- extends java.lang.Object
Main class for managing extensions made to this plugin-
- Author:
- mike
Field Summary |
private static java.util.logging.Logger |
log
|
Method Summary |
net.sf.javadocbuilder.ITemplateSource |
findTemplateSource(java.lang.String templateSource)
Gets the template source with the given id or null if it is not found. |
net.sf.javadocbuilder.ITemplateSource[] |
getTemplateSources()
Gets all implementations of ITemplateSource. |
private void |
iterateExtensions(java.lang.String xpid,
Manager.IteratorCallback cb)
Iterate over extensions and call methods on the IteratorCallback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static java.util.logging.Logger log
Manager
public Manager()
iterateExtensions
private void iterateExtensions(java.lang.String xpid,
Manager.IteratorCallback cb)
- Iterate over extensions and call methods on the IteratorCallback
- Parameters:
xpid
- cb
-
getTemplateSources
public net.sf.javadocbuilder.ITemplateSource[] getTemplateSources()
- Gets all implementations of ITemplateSource.
TODO while this implementations is goining on, this method may have hardcoded data
- Returns:
findTemplateSource
public net.sf.javadocbuilder.ITemplateSource findTemplateSource(java.lang.String templateSource)
- Gets the template source with the given id or null if it is not found.
- Parameters:
templateSource
-
- Returns: