Package com.luciad.ogc.wcs.client
Class TLcdWCSDataSource.Builder
java.lang.Object
com.luciad.ogc.wcs.client.TLcdWCSDataSource.Builder
- Enclosing class:
TLcdWCSDataSource
A builder to create
TLcdWCSDataSource
instances.
By default, all values are null
.
The class documentation of TLcdWCSDataSource
documents the minimum requirement for building a TLcdWCSDataSource
.
- Since:
- 2018.0
-
Method Summary
Modifier and TypeMethodDescriptionall
(TLcdWCSDataSource aDataSource) Initializes this builder to the values of the givenTLcdWCSDataSource
.build()
Create theTLcdWCSDataSource
instance that corresponds to the values in this builder.coverageName
(String aCoverageName) Specify the coverage name.Specify the URI of the WMS server.Specify the URI of the WCS server.
-
Method Details
-
uri
Specify the URI of the WCS server.If the URI's query parameters contain
data
orcoverage
parameters, those are interpreted as coverage names and set on this builder as well. For example,http://hostname:8080/Luciad/wcs?data=myCoverage
specifies coverage namemyCoverage
.- Parameters:
aUri
- The URI of the WCS- Returns:
- this
-
uri
Specify the URI of the WMS server.- Parameters:
aUri
- The URI of the WMS- Returns:
- this
-
coverageName
Specify the coverage name.- Parameters:
aCoverageName
- The coverage name to be requested- Returns:
- this
-
all
Initializes this builder to the values of the givenTLcdWCSDataSource
.- Parameters:
aDataSource
- The data source instance to copy- Returns:
- this
-
build
Create theTLcdWCSDataSource
instance that corresponds to the values in this builder.You have to at least specify a
uri(java.net.URI)
before building the instance.- Returns:
- A new instance
- Throws:
IllegalArgumentException
- if the minimum requirements for building a TLcdWCSDataSource are not met.
-