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 IModuleFactory
xml
- XMLException
Copyright © 2015–2022 SciJava. All rights reserved.