public abstract class ALcdCSWCapabilitiesProvider extends Object implements ILcdCSWCapabilitiesProvider
TLcdOGCFilterEvaluator.getFilterCapabilities()
Constructor and Description |
---|
ALcdCSWCapabilitiesProvider()
Configures a default CSW server, supporting Dublin Core records and versions 2.0.2 and 3.0.0.
|
ALcdCSWCapabilitiesProvider(List<ILcdCSWProfile> aProfiles)
Configures a CSW server with the given profiles.
|
Modifier and Type | Method and Description |
---|---|
Object |
getExtendedCapabilities(ILcdRequest aRequest)
Returns extended operations metadata capabilities, if any.
|
TLcdOGCFilterCapabilities |
getFilterCapabilities(ILcdRequest aRequest)
Returns the OGC filter capabilities supported by this handler.
|
List<QName> |
getInputRecordProperties(ILcdRequest aRequest,
TLcdCSWRecordType aInputFormat)
Returns the names of the properties (e.g.
|
List<TLcdCSWRecordType> |
getInputRecordTypes(ILcdRequest aRequest)
Returns a description of all data records that can be queried.
|
List<TLcdCSWOpenSearchTemplate> |
getOpenSearchTemplates(ILcdRequest aRequest)
Creates a list of templates for OpenSearch queries.
|
List<QName> |
getOutputRecordProperties(ILcdRequest aRequest,
TLcdCSWRecordType aOutputFormat)
Returns the names of the properties (e.g.
|
List<TLcdCSWRecordType> |
getOutputRecordTypes(ILcdRequest aRequest)
Returns a description of all the output formats (e.g.
|
List<String> |
getSupportedVersions()
Returns the CSW versions that will be advertised by the server.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createServiceIdentification, createServiceProvider, getQueryHandler
public ALcdCSWCapabilitiesProvider()
TLcdOGCFilterEvaluator.getFilterCapabilities()
public ALcdCSWCapabilitiesProvider(List<ILcdCSWProfile> aProfiles)
aProfiles
- the profiles to supportpublic List<String> getSupportedVersions()
getSupportedVersions
in interface ILcdCSWCapabilitiesProvider
public List<TLcdCSWOpenSearchTemplate> getOpenSearchTemplates(ILcdRequest aRequest)
By default this method returns a template for each supported output format
,
containing all supported parameters.
Override this method to customize the various templates of the OpenSearch request.
getOpenSearchTemplates
in interface ILcdCSWCapabilitiesProvider
aRequest
- the request triggering the callpublic TLcdOGCFilterCapabilities getFilterCapabilities(ILcdRequest aRequest)
getFilterCapabilities
in interface ILcdCSWCapabilitiesProvider
aRequest
- the request triggering the callpublic List<TLcdCSWRecordType> getOutputRecordTypes(ILcdRequest aRequest)
TLcdCSWRecordType.CSW_202
.
For 3.0.0 compliancy, this list should at least contain TLcdCSWRecordType.CSW_300
and TLcdCSWRecordType.ATOM
.
This implementation returns descriptors for CSW Dublin Core, ISO Metadata, and ATOM Feeds.
getOutputRecordTypes
in interface ILcdCSWCapabilitiesProvider
aRequest
- the request triggering the callpublic List<TLcdCSWRecordType> getInputRecordTypes(ILcdRequest aRequest)
TLcdCSWRecordType.CSW_202
.
For 3.0.0 compliancy, this list should at least contain TLcdCSWRecordType.CSW_300
.
See TLcdCSWQuery.getTypeNames()
for how to specify the input record type in a query.
See ILcdCSWCapabilitiesProvider.getInputRecordProperties(com.luciad.ogc.common.ILcdRequest, com.luciad.ogc.csw.record.TLcdCSWRecordType)
for the specific properties that are supported.
This implementation returns descriptors for CSW Dublin Core and ISO Metadata.
getInputRecordTypes
in interface ILcdCSWCapabilitiesProvider
aRequest
- the request triggering the callpublic List<QName> getInputRecordProperties(ILcdRequest aRequest, TLcdCSWRecordType aInputFormat)
getInputRecordProperties
in interface ILcdCSWCapabilitiesProvider
aRequest
- the request triggering the callaInputFormat
- the input format for which to return the propertiespublic List<QName> getOutputRecordProperties(ILcdRequest aRequest, TLcdCSWRecordType aOutputFormat)
TLcdCSWQuery.getElements()
for how to specify output properties in record queries.getOutputRecordProperties
in interface ILcdCSWCapabilitiesProvider
aRequest
- the request triggering the callaOutputFormat
- the output format for which to return the propertiespublic Object getExtendedCapabilities(ILcdRequest aRequest)
ILcdCSWCapabilitiesProvider
getExtendedCapabilities
in interface ILcdCSWCapabilitiesProvider
ALcdOWSOperationsMetadata.getExtendedCapabilities()