|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Factory
General factory interface.
| Method Summary | |
|---|---|
java.lang.Object |
createFromConfigSource(java.lang.Object configSource,
AVList params)
Creates an object from a general configuration source. |
java.lang.Object |
createFromDataConfig(DataConfiguration dataConfig,
AVList params)
Create a component from a specified data configuration, potentially overriding values from the configuration with values from the specified parameters. |
| Method Detail |
|---|
java.lang.Object createFromConfigSource(java.lang.Object configSource,
AVList params)
configSource - the configuration source.params - properties to apply during object creation.
java.lang.IllegalArgumentException - if the configuration source is null or an empty string.
WWUnrecognizedException - if the type of source or some object-specific value is unrecognized.
WWRuntimeException - if object creation fails. The exception indicating the source of the failure is
included as the Throwable.initCause(Throwable).
java.lang.Object createFromDataConfig(DataConfiguration dataConfig,
AVList params)
dataConfig - the configuration information describing the component.params - key-value parameters which override or supplement the information provided in the specified
configuration. A null reference is permitted.
WWRuntimeException - if the class cannot be created for any reason.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||