org.aitools.programd.processor
Class ProcessorRegistry<B>

java.lang.Object
  extended by org.aitools.programd.util.ClassRegistry<B>
      extended by org.aitools.programd.processor.ProcessorRegistry<B>
Type Parameters:
B - the base class for the processors
Direct Known Subclasses:
AIMLProcessorRegistry, BotConfigurationElementProcessorRegistry

public class ProcessorRegistry<B>
extends ClassRegistry<B>

Registers Processors associated with a given namespace URI.

Since:
4.1.3
Author:
Noel Bush

Field Summary
protected  java.lang.String namespaceURI
          The namespace URI of the content type for which this registry is intended.
 
Fields inherited from class org.aitools.programd.util.ClassRegistry
registry
 
Constructor Summary
protected ProcessorRegistry(java.lang.String namespaceURIToUse, java.lang.String[] classnames)
          Creates a ProcessorRegistry associated with the given namespace URI.
 
Method Summary
 java.lang.String getNamespaceURI()
           
 
Methods inherited from class org.aitools.programd.util.ClassRegistry
get, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespaceURI

protected java.lang.String namespaceURI
The namespace URI of the content type for which this registry is intended.

Constructor Detail

ProcessorRegistry

protected ProcessorRegistry(java.lang.String namespaceURIToUse,
                            java.lang.String[] classnames)
Creates a ProcessorRegistry associated with the given namespace URI.

Parameters:
namespaceURIToUse - the namespace URI for the processors
classnames - the names of the classes to register
See Also:
ClassRegistry
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns:
the namespace URI of the content type for which this registry manages processors