Package com.luciad.lucy.util.height
Class TLcyCompositeLayerHeightProviderFactory
java.lang.Object
com.luciad.lucy.util.TLcyGenericComposite<ILcdLayerHeightProviderFactory>
com.luciad.lucy.util.height.TLcyCompositeLayerHeightProviderFactory
- All Implemented Interfaces:
ILcdLayerHeightProviderFactory,Iterable<ILcdLayerHeightProviderFactory>
public class TLcyCompositeLayerHeightProviderFactory
extends TLcyGenericComposite<ILcdLayerHeightProviderFactory>
implements ILcdLayerHeightProviderFactory
Composite implementation of ILcdLayerHeightProviderFactory.
This composite implementation can work on the registered Lucy services, or as a regular
composite implementation. Consult the javadoc of TLcyGenericComposite
for an in-depth explanation.
- Since:
- 10.1
- See Also:
-
Field Summary
Fields inherited from class com.luciad.lucy.util.TLcyGenericComposite
PRIORITY_DEFAULT, PRIORITY_FALLBACKFields inherited from interface com.luciad.util.height.ILcdLayerHeightProviderFactory
KEY_GEO_REFERENCE -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorConstructor for a compositeILcdLayerHeightProviderFactorywhich will work on the registeredILcdLayerHeightProviderFactoryinstances of the Lucy back-end. -
Method Summary
Methods inherited from class com.luciad.lucy.util.TLcyGenericComposite
add, add, getList, getPriority, iterator, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TLcyCompositeLayerHeightProviderFactory
public TLcyCompositeLayerHeightProviderFactory()Default constructor
- See Also:
-
TLcyCompositeLayerHeightProviderFactory
Constructor for a composite
ILcdLayerHeightProviderFactorywhich will work on the registeredILcdLayerHeightProviderFactoryinstances of the Lucy back-end.- Parameters:
aLucyEnv- The Lucy back-end- See Also:
-
-
Method Details
-
createHeightProvider
public ILcdHeightProvider createHeightProvider(ILcdLayer aLayer, ILcdView aView, Map<String, Object> aRequiredPropertiesSFCT, Map<String, throws TLcdMissingPropertyException, TLcdUnsupportedPropertyExceptionObject> aOptionalProperties) Description copied from interface:ILcdLayerHeightProviderFactoryReturns a height provider for a givenILcdLayerandILcdViewusing the given properties. The returned height provider is determined by the implementation, theILcdLayer,ILcdViewand the given properties.- Specified by:
createHeightProviderin interfaceILcdLayerHeightProviderFactory- Parameters:
aLayer- anILcdLayerfor which a height provider is created.aView- anILcdViewin whichaLayeris contained.aRequiredPropertiesSFCT- the required properties. The properties can be retrieved using aStringkey describing the property type. When not all required properties are used, an exception is thrown.aRequiredPropertiesmay be empty but should not be null. When a required property as used, it should always be removed from the list of required properties. When anILcdHeightProvideris actually made, the list of required properties should be verified.aOptionalProperties- the optional properties. The properties can be retrieved using aStringkey describing the property type. The optional properties may or may not be used by the implementation.aOptionalPropertiesmay be empty but should not be null.- Returns:
- a height provider if elevation is supported, or
nullwhen elevation is not supported or when no valid height provider can be created. - Throws:
TLcdMissingPropertyException- when the implementation misses a necessary property.TLcdUnsupportedPropertyException- when a required property is not used by the implementation.- See Also:
-