public static class TLcdWCSDataSource.Builder extends Object
TLcdWCSDataSource
instances.
By default, all values are null
.
The class documentation of TLcdWCSDataSource
documents the minimum requirement for building a TLcdWCSDataSource
.
Modifier and Type | Method and Description |
---|---|
TLcdWCSDataSource.Builder |
all(TLcdWCSDataSource aDataSource)
Initializes this builder to the values of the given
TLcdWCSDataSource . |
TLcdWCSDataSource |
build()
Create the
TLcdWCSDataSource instance that corresponds to the values in this
builder. |
TLcdWCSDataSource.Builder |
coverageName(String aCoverageName)
Specify the coverage name.
|
TLcdWCSDataSource.Builder |
uri(String aUri)
Specify the URI of the WMS server.
|
TLcdWCSDataSource.Builder |
uri(URI aUri)
Specify the URI of the WCS server.
|
public TLcdWCSDataSource.Builder uri(URI aUri)
If the URI's query parameters contain data
or coverage
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 name myCoverage
.
aUri
- The URI of the WCSpublic TLcdWCSDataSource.Builder uri(String aUri)
aUri
- The URI of the WMSpublic TLcdWCSDataSource.Builder coverageName(String aCoverageName)
aCoverageName
- The coverage name to be requestedpublic TLcdWCSDataSource.Builder all(TLcdWCSDataSource aDataSource)
TLcdWCSDataSource
.aDataSource
- The data source instance to copypublic TLcdWCSDataSource build()
TLcdWCSDataSource
instance that corresponds to the values in this
builder.
You have to at least specify a uri(java.net.URI)
before building the instance.
IllegalArgumentException
- if the minimum requirements for building a TLcdWCSDataSource are not met.