Package com.luciad.ogc.wfs.client
Class TLcdWFSDataSource.Builder
java.lang.Object
com.luciad.ogc.wfs.client.TLcdWFSDataSource.Builder
- Enclosing class:
TLcdWFSDataSource
A builder to create
TLcdWFSDataSource instances.
By default, all values are null.
The class documentation of TLcdWFSDataSource documents the minimum requirement for building a TLcdWFSDataSource.
- Since:
- 2018.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionall(TLcdWFSDataSource aDataSource) Initializes this builder to the values of the givenTLcdWFSDataSource.build()Create theTLcdWFSDataSourceinstance that corresponds to the values in this builder.featureTypeName(String aFeatureTypeName) Adds a feature instance type to be requested from WFS server.featureTypeName(QName aFeatureTypeName) Adds a feature instance type to be requested from WFS server.Specify the URI of the WFS server.Specify the URI of the WFS server.
-
Method Details
-
uri
Specify the URI of the WFS server.If the URI's query parameters contain
data,typenameortypenamesparameters, those are interpreted as feature type names and set on this builder as well. For example,http://hostname:8080/Luciad/wfs?data=myFeaturesspecifies feature type namemyFeatures.- Parameters:
aUri- The URI of the WFS- Returns:
- this
-
uri
Specify the URI of the WFS server.- Parameters:
aUri- The URI of the WFS- Returns:
- this
-
featureTypeName
Adds a feature instance type to be requested from WFS server.- Parameters:
aFeatureTypeName- A feature type name.- Returns:
- this
-
featureTypeName
Adds a feature instance type to be requested from WFS server.- Parameters:
aFeatureTypeName- A feature type name.- Returns:
- this
- Since:
- 2019.0
-
all
Initializes this builder to the values of the givenTLcdWFSDataSource.- Parameters:
aDataSource- The data source instance to copy- Returns:
- this
-
build
Create theTLcdWFSDataSourceinstance that corresponds to the values in this builder.You have to at least specify a
uri(java.net.URI)and a featurefeatureTypeName(java.lang.String)before building the instance.- Returns:
- A new instance
- Throws:
IllegalArgumentException- if the minimum requirements for building a TLcdWFSDataSource are not met.
-