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

Nested Class Summary
(package private) static interface Manager.IteratorCallback
          Interface for actions to execute when iterating over extension points.
(package private)  class Manager.TemplateSourceCallback
           
 
Field Summary
private static java.util.logging.Logger log
           
 
Constructor Summary
Manager()
           
 
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
 

Field Detail

log

private static java.util.logging.Logger log
Constructor Detail

Manager

public Manager()
Method Detail

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: