public class ModuleFactory extends Object implements IModuleFactory
| Modifier and Type | Method and Description |
|---|---|
IModule |
create(String xml)
Creates a component from XML.
|
static ModuleFactory |
getInstance()
Gets singleton instance.
|
void |
register(String tagName,
IModuleFactory factory) |
public static ModuleFactory getInstance()
public void register(String tagName, IModuleFactory factory)
public IModule create(String xml) throws XMLException
create in interface IModuleFactoryxml - XMLExceptionCopyright © 2015–2022 SciJava. All rights reserved.