|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uci.isr.yancees.plugin.PluginManager
Manages the plug-in instances used by the parsers (managers)
| Constructor Summary | |
PluginManager()
this is the constructor. |
|
| Method Summary | |
void |
addFactory(PluginFactoryInterface factory)
Registers a new factory in the plug-in manager to process the set of tags provided |
void |
addGenericFactory(PluginFactoryInterface factory)
Registers the generic factory that handles unknown tags in the subscription process |
PluginInterface |
createPluginInstance(java.lang.String tag,
org.w3c.dom.Node subTree)
|
PluginFactoryInterface[] |
getFactoriesList()
Gets the list of all factories registered in the PluginManager |
java.lang.String[] |
getRegisteredTags()
|
void |
removeFactory(PluginFactoryInterface factory)
Registers a new factory in the plug-in manager |
void |
setDispatcher(EventDispatcherInterface disp)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PluginManager()
| Method Detail |
public void setDispatcher(EventDispatcherInterface disp)
public void addFactory(PluginFactoryInterface factory)
addFactory in interface PluginManagerInterfacefactory - the factory instancepublic void addGenericFactory(PluginFactoryInterface factory)
addGenericFactory in interface PluginManagerInterfacefactory - the factory instancepublic void removeFactory(PluginFactoryInterface factory)
removeFactory in interface PluginManagerInterfacepublic PluginFactoryInterface[] getFactoriesList()
getFactoriesList in interface PluginManagerInterfacepublic java.lang.String[] getRegisteredTags()
getRegisteredTags in interface PluginManagerInterface
public PluginInterface createPluginInstance(java.lang.String tag,
org.w3c.dom.Node subTree)
throws PluginManagerException
createPluginInstance in interface PluginManagerInterfacean - exception in case the creation is not successfull.
PluginManagerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||