Package gov.nasa.worldwind
Interface Factory
-
- All Known Implementing Classes:
BasicElevationModelFactory,BasicFactory,BasicLayerFactory
public interface FactoryGeneral factory interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectcreateFromConfigSource(java.lang.Object configSource, AVList params)Creates an object from a general configuration source.
-
-
-
Method Detail
-
createFromConfigSource
java.lang.Object createFromConfigSource(java.lang.Object configSource, AVList params)Creates an object from a general configuration source.- Parameters:
configSource- the configuration source.params- properties to apply during object creation.- Returns:
- the new object.
- Throws:
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 theThrowable.initCause(Throwable).
-
-