Class TLcdWCSDataSource.Builder

java.lang.Object
com.luciad.ogc.wcs.client.TLcdWCSDataSource.Builder
Enclosing class:
TLcdWCSDataSource

public static class TLcdWCSDataSource.Builder extends Object
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 Details

    • uri

      public TLcdWCSDataSource.Builder uri(URI aUri)
      Specify the URI of the WCS server.

      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.

      Parameters:
      aUri - The URI of the WCS
      Returns:
      this
    • uri

      public TLcdWCSDataSource.Builder uri(String aUri)
      Specify the URI of the WMS server.
      Parameters:
      aUri - The URI of the WMS
      Returns:
      this
    • coverageName

      public TLcdWCSDataSource.Builder coverageName(String aCoverageName)
      Specify the coverage name.
      Parameters:
      aCoverageName - The coverage name to be requested
      Returns:
      this
    • all

      public TLcdWCSDataSource.Builder all(TLcdWCSDataSource aDataSource)
      Initializes this builder to the values of the given TLcdWCSDataSource.
      Parameters:
      aDataSource - The data source instance to copy
      Returns:
      this
    • build

      public TLcdWCSDataSource build()
      Create the 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.

      Returns:
      A new instance
      Throws:
      IllegalArgumentException - if the minimum requirements for building a TLcdWCSDataSource are not met.