Search in sources :

Example 6 with FeatureTypeType

use of ogc.schema.opengis.wfs_capabilities.v_1_0_0.FeatureTypeType in project ddf by codice.

the class WfsSource method configureWfsFeatures.

private void configureWfsFeatures() throws SecurityServiceException {
    WFSCapabilitiesType capabilities = getCapabilities();
    if (capabilities != null) {
        wfsVersion = capabilities.getVersion();
        List<FeatureTypeType> featureTypes = getFeatureTypes(capabilities);
        buildFeatureFilters(featureTypes, capabilities.getFilterCapabilities());
    } else {
        LOGGER.debug("WfsSource {}: WFS Server did not return any capabilities.", getId());
    }
}
Also used : WFSCapabilitiesType(net.opengis.wfs.v_2_0_0.WFSCapabilitiesType) FeatureTypeType(net.opengis.wfs.v_2_0_0.FeatureTypeType)

Aggregations

XmlSchema (org.apache.ws.commons.schema.XmlSchema)4 ArrayList (java.util.ArrayList)3 QName (javax.xml.namespace.QName)3 FeatureTypeType (net.opengis.wfs.v_2_0_0.FeatureTypeType)3 FeatureTypeType (ogc.schema.opengis.wfs_capabilities.v_1_0_0.FeatureTypeType)3 WfsException (org.codice.ddf.spatial.ogc.wfs.catalog.common.WfsException)3 Metacard (ddf.catalog.data.Metacard)2 MetacardImpl (ddf.catalog.data.impl.MetacardImpl)2 GeotoolsFilterAdapterImpl (ddf.catalog.filter.proxy.adapter.GeotoolsFilterAdapterImpl)2 ByteArrayInputStream (java.io.ByteArrayInputStream)2 HashMap (java.util.HashMap)2 List (java.util.List)2 WebApplicationException (javax.ws.rs.WebApplicationException)2 StreamSource (javax.xml.transform.stream.StreamSource)2 XmlSchemaCollection (org.apache.ws.commons.schema.XmlSchemaCollection)2 SecureCxfClientFactory (org.codice.ddf.cxf.SecureCxfClientFactory)2 FeatureMetacardType (org.codice.ddf.spatial.ogc.wfs.catalog.common.FeatureMetacardType)2 DescribeFeatureTypeRequest (org.codice.ddf.spatial.ogc.wfs.v1_0_0.catalog.common.DescribeFeatureTypeRequest)2 DescribeFeatureTypeRequest (org.codice.ddf.spatial.ogc.wfs.v2_0_0.catalog.common.DescribeFeatureTypeRequest)2 InvocationOnMock (org.mockito.invocation.InvocationOnMock)2