Package com.luciad.format.kml22.util
Class TLcdKML22ResourceProvider
java.lang.Object
com.luciad.format.kml22.util.TLcdKML22ResourceProvider
- All Implemented Interfaces:
ILcdInputStreamFactoryCapable
A provider of KML resources.
This TLcdKML22ResourceProvider
contains several specific KML resource providers:
- A document provider
- A schema provider
- A style provider
- An image provider
- An icon provider
- Since:
- 10.0
-
Constructor Summary
ConstructorDescriptionTLcdKML22ResourceProvider
(TLcdKML22ModelDecoder aModelDecoder, ILcdInputStreamFactory aInputStreamFactory) Creates a new resource provider with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionGets the document providerReturns the exception handler of this resource provider.Gets the icon providerGets the image providerReturns theILcdInputStreamFactory
used by this resource provider.Gets the schema providerGets the style providervoid
setExceptionHandler
(ILcdExceptionHandler aExceptionHandler) Sets the exception handler of this resource provider.void
setInputStreamFactory
(ILcdInputStreamFactory aInputStreamFactory) Sets theILcdInputStreamFactory
used by this resource provider.
-
Constructor Details
-
TLcdKML22ResourceProvider
public TLcdKML22ResourceProvider(TLcdKML22ModelDecoder aModelDecoder, ILcdInputStreamFactory aInputStreamFactory) Creates a new resource provider with the given parameters.- Parameters:
aModelDecoder
- a KML model decoder that can be used to decode KML documentsaInputStreamFactory
- an input stream factory
-
-
Method Details
-
getDocumentProvider
Gets the document provider- Returns:
- a TLcdKML22DocumentProvider
-
getImageProvider
Gets the image provider- Returns:
- a TLcdKML22ImageProvider
-
getSchemaProvider
Gets the schema provider- Returns:
- a TLcdKML22SchemaProvider
-
getStyleProvider
Gets the style provider- Returns:
- a TLcdKML22StyleProvider
-
getIconProvider
Gets the icon provider- Returns:
- a TLcdKML22IconProvider
-
setExceptionHandler
Sets the exception handler of this resource provider. The exception handler will be notified of any issues while retrieving or updating resources.- Parameters:
aExceptionHandler
- An ILcdExceptionHandler
-
getExceptionHandler
Returns the exception handler of this resource provider.- Returns:
- An ILcdExceptionHandler
-
getInputStreamFactory
Returns theILcdInputStreamFactory
used by this resource provider.- Specified by:
getInputStreamFactory
in interfaceILcdInputStreamFactoryCapable
- Returns:
- An ILcdInputStreamFactory
-
setInputStreamFactory
Sets theILcdInputStreamFactory
used by this resource provider.- Specified by:
setInputStreamFactory
in interfaceILcdInputStreamFactoryCapable
- Parameters:
aInputStreamFactory
- An ILcdInputStreamFactory
-