Search in sources :

Example 6 with OwsServiceProvider

use of org.n52.shetland.ogc.ows.OwsServiceProvider in project arctic-sea by 52North.

the class AbstractCapabilitiesBaseTypeDecoder method parseCapabilitiesBaseType.

protected OwsCapabilities parseCapabilitiesBaseType(String service, CapabilitiesBaseType cbt) throws DecodingException {
    if (cbt == null) {
        return null;
    }
    OwsServiceIdentification serviceIdentification = parseServiceIdentification(cbt.getServiceIdentification());
    OwsServiceProvider serviceProvider = parseServiceProvider(cbt.getServiceProvider());
    OwsOperationsMetadata operationsMetadata = parseOperationMetadata(cbt.getOperationsMetadata());
    Collection<String> languages = null;
    Collection<OwsCapabilitiesExtension> extensions = null;
    return new OwsCapabilities(service, cbt.getVersion(), cbt.getUpdateSequence(), serviceIdentification, serviceProvider, operationsMetadata, languages, extensions);
}
Also used : OwsCapabilitiesExtension(org.n52.shetland.ogc.ows.OwsCapabilitiesExtension) OwsOperationsMetadata(org.n52.shetland.ogc.ows.OwsOperationsMetadata) OwsServiceProvider(org.n52.shetland.ogc.ows.OwsServiceProvider) LocalizedString(org.n52.janmayen.i18n.LocalizedString) MultilingualString(org.n52.janmayen.i18n.MultilingualString) OwsLanguageString(org.n52.shetland.ogc.ows.OwsLanguageString) OwsCapabilities(org.n52.shetland.ogc.ows.OwsCapabilities) OwsServiceIdentification(org.n52.shetland.ogc.ows.OwsServiceIdentification)

Aggregations

OwsServiceProvider (org.n52.shetland.ogc.ows.OwsServiceProvider)6 OwsOperationsMetadata (org.n52.shetland.ogc.ows.OwsOperationsMetadata)3 OwsServiceIdentification (org.n52.shetland.ogc.ows.OwsServiceIdentification)3 LocalizedString (org.n52.janmayen.i18n.LocalizedString)2 MultilingualString (org.n52.janmayen.i18n.MultilingualString)2 OwsCapabilities (org.n52.shetland.ogc.ows.OwsCapabilities)2 OwsCapabilitiesExtension (org.n52.shetland.ogc.ows.OwsCapabilitiesExtension)2 OwsLanguageString (org.n52.shetland.ogc.ows.OwsLanguageString)2 OwsOnlineResource (org.n52.shetland.ogc.ows.OwsOnlineResource)2 OwsResponsibleParty (org.n52.shetland.ogc.ows.OwsResponsibleParty)2 Locale (java.util.Locale)1 DomainMetadataType (net.opengis.ows.x11.DomainMetadataType)1 DomainType (net.opengis.ows.x11.DomainType)1 MetadataType (net.opengis.ows.x11.MetadataType)1 ServiceProvider (net.opengis.ows.x11.ServiceProviderDocument.ServiceProvider)1 CapabilitiesSection (org.n52.shetland.ogc.ows.OWSConstants.CapabilitiesSection)1 OwsAcceptVersions (org.n52.shetland.ogc.ows.OwsAcceptVersions)1 OwsAddress (org.n52.shetland.ogc.ows.OwsAddress)1 OwsCode (org.n52.shetland.ogc.ows.OwsCode)1 OwsContact (org.n52.shetland.ogc.ows.OwsContact)1