|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.alchemist.configbuilder.ConfigElementFactory
public class ConfigElementFactory
This class is responsible for creating config item objects defined by configuration xml, and bundle file
| Constructor Summary | |
|---|---|
ConfigElementFactory(chemaxon.alchemist.configbuilder.configuration.marshalling.Configuration configuration)
Creates a ConfigElementFactory based on Configuration |
|
ConfigElementFactory(java.lang.String configPath)
Creates a ConfigElementFactory based on configPath |
|
| Method Summary | |
|---|---|
ConfigElement |
create(java.lang.Class configElementClass)
Creates an instance of configElementClass class. |
ConfigElement |
create(chemaxon.alchemist.configbuilder.configuration.marshalling.Element xmlElement)
Creates ConfigElement instance based on bundle informations |
ConfigElement |
create(java.lang.String configElementId)
Creates an instace of class extending ConfigElement and identified
by configElementId in configuration XML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigElementFactory(java.lang.String configPath)
ConfigElementFactory based on configPath
configPath - is the path to configuration xml file of elements
public ConfigElementFactory(chemaxon.alchemist.configbuilder.configuration.marshalling.Configuration configuration)
throws java.lang.IllegalArgumentException
ConfigElementFactory based on Configuration
configuration - is the configuration of elements
java.lang.IllegalArgumentException| Method Detail |
|---|
public ConfigElement create(java.lang.String configElementId)
throws java.lang.IllegalArgumentException
ConfigElement and identified
by configElementId in configuration XML
configElementId - is the id of config element
ConfigElement instance
java.lang.IllegalArgumentException
public ConfigElement create(java.lang.Class configElementClass)
throws java.lang.IllegalArgumentException
configElementClass class.BasicConfigElement can not be created this way, since it can be represented in many ways
configElementClass - is the class of the ConfigElement inheritance to be created
configElementClass class instance
java.lang.IllegalArgumentException
public ConfigElement create(chemaxon.alchemist.configbuilder.configuration.marshalling.Element xmlElement)
throws java.lang.IllegalArgumentException
ConfigElement instance based on bundle informations
xmlElement - is the xml data that new ConfigElement is based on
ConfigElement instance
java.lang.IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||