Package com.luciad.ogc.wmts.client
Class TLcdWMTSDataSource
java.lang.Object
com.luciad.ogc.wmts.client.TLcdWMTSDataSource
- All Implemented Interfaces:
ILcdDataSource
ILcdDataSource to represent OGC WMTS data. WMTS data is represented by:
- A
URI. This is mandatory. - A
layer id. Optional, leave out to specify all available layers. - A
format. Optional, leave out to auto-detect the format. - A
style id. Optional, leave out to get the default style.
To discover the available layers and their styles and formats, use TLcdWMTSClient.getLayers().
Use newBuilder() to create a new instance.
Limitations on what WMTS layers are supported are described here.
- Since:
- 2013.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns abuilderpre-initialized with the values of this instance.booleanReturns a string description of the data source.Returns the values for dimensions to be used when decoding the WMTS layer.Returns the format that should be used when decoding the WMTS layer.getLayer()Returns the WMTS layer ID to load.getStyle()Returns the style ID that should be used when decoding the WMTS layer.getURI()Returns the URI of the WMTS server.inthashCode()static TLcdWMTSDataSource.BuilderReturns abuilderto create new instances.toString()
-
Method Details
-
newBuilder
Returns abuilderto create new instances.- Returns:
- A builder.
-
asBuilder
Returns abuilderpre-initialized with the values of this instance.- Returns:
- A builder initialized to copy this object.
-
getDescription
Description copied from interface:ILcdDataSourceReturns a string description of the data source. This will typically be used in a GUI, or in error and warning messages.- Specified by:
getDescriptionin interfaceILcdDataSource- Returns:
- a String describing the data source.
-
getURI
Returns the URI of the WMTS server.- Returns:
- The URI of the WMTS server.
-
getLayer
Returns the WMTS layer ID to load.A
nullreturn value indicates all available, layers should be loaded.- Returns:
- A layer ID, possibly
null.
-
getFormat
Returns the format that should be used when decoding the WMTS layer.A
nullreturn value indicates the format should be auto-detected.- Returns:
- The format to use, possibly
null.
-
getStyle
Returns the style ID that should be used when decoding the WMTS layer.A
nullreturn value indicates the default style should be used.- Returns:
- The style ID to use, possibly
null.
-
getDimensions
Returns the values for dimensions to be used when decoding the WMTS layer.Not all possible dimensions need to have values. If a dimension does not have a value associated, the default value will be used.
- Returns:
- The dimensions to use, possibly empty but never
null.
-
toString
-
equals
-
hashCode
public int hashCode()
-