@Test public void testGetFilterCapabilities() throws IOException { createTestProtocol(GEOS_ARCHSITES.CAPABILITIES); FilterCapabilities filterCapabilities = wfs.getFilterCapabilities(); assertNotNull(filterCapabilities); SpatialCapabilities spatialCapabilities = filterCapabilities.getSpatialCapabilities(); Collection<GeometryOperand> geometryOperands = spatialCapabilities.getGeometryOperands(); assertEquals(4, geometryOperands.size()); assertTrue(geometryOperands.contains(GeometryOperand.Envelope)); assertTrue(geometryOperands.contains(GeometryOperand.Point)); assertTrue(geometryOperands.contains(GeometryOperand.LineString)); assertTrue(geometryOperands.contains(GeometryOperand.Polygon)); SpatialOperators spatialOperators = spatialCapabilities.getSpatialOperators(); Collection<SpatialOperator> operators = spatialOperators.getOperators(); assertEquals(9, operators.size()); assertNotNull(spatialOperators.getOperator("Disjoint")); assertNotNull(spatialOperators.getOperator("Equals")); assertNotNull(spatialOperators.getOperator("DWithin")); assertNotNull(spatialOperators.getOperator("Beyond")); assertNotNull(spatialOperators.getOperator("Intersects")); assertNotNull(spatialOperators.getOperator("Touches")); assertNotNull(spatialOperators.getOperator("Crosses")); assertNotNull(spatialOperators.getOperator("Contains")); assertNotNull(spatialOperators.getOperator("BBOX")); assertNull(spatialOperators.getOperator("Overlaps")); }
public FilterCapabilities getFilterCapabilities() { FilterCapabilities wfsFilterCapabilities; wfsFilterCapabilities = capabilities.getFilterCapabilities(); return wfsFilterCapabilities; }
WFS_1_1_0_Protocol implements WFSProtocol { public FilterCapabilities getFilterCapabilities() { FilterCapabilities wfsFilterCapabilities; wfsFilterCapabilities = capabilities.getFilterCapabilities(); return wfsFilterCapabilities; } }
WFS_1_1_0_Protocol implements WFSProtocol { public FilterCapabilities getFilterCapabilities() { FilterCapabilities wfsFilterCapabilities; wfsFilterCapabilities = capabilities.getFilterCapabilities(); return wfsFilterCapabilities; } WFS_1_1_0_Protocol(InputStream capabilitiesReader, HTTPProtocol http); }
WFS_1_1_0_Protocol implements WFSProtocol { public FilterCapabilities getFilterCapabilities() { FilterCapabilities wfsFilterCapabilities; wfsFilterCapabilities = capabilities.getFilterCapabilities(); return wfsFilterCapabilities; } WFS_1_1_0_Protocol(InputStream capabilitiesReader, HTTPProtocol http); void setStrategy(WFSStrategy strategy); Version getServiceVersion(); String getServiceTitle(); String getServiceAbstract(); Set<String> getServiceKeywords(); URI getServiceProviderUri(); Set<String> getSupportedGetFeatureOutputFormats(); Set<String> getSupportedOutputFormats(String typeName); Set<QName> getFeatureTypeNames(); QName getFeatureTypeName(String typeName); FilterCapabilities getFilterCapabilities(); boolean supportsOperation(WFSOperationType operation, boolean post); URL getOperationURL(WFSOperationType operation, boolean post); String getFeatureTypeTitle(String typeName); String getFeatureTypeAbstract(String typeName); ReferencedEnvelope getFeatureTypeWGS84Bounds(String typeName); String getDefaultCRS(String typeName); Set<String> getSupportedCRSIdentifiers(String typeName); Set<String> getFeatureTypeKeywords(String typeName); URL getDescribeFeatureTypeURLGet(String typeName); WFSResponse describeFeatureTypeGET(String typeName, String outputFormat); WFSResponse describeFeatureTypePOST(String typeName, String outputFormat); WFSResponse issueGetFeatureGET(final GetFeature request); WFSResponse issueGetFeaturePOST(final GetFeature request); void dispose(); static void encode(final EObject request, final Configuration configuration,
            final OutputStream out, final Charset charset); String getDefaultOutputFormat(WFSOperationType operation); Filter[] splitFilters(Filter filter); }
WFS_1_1_0_Protocol implements WFSProtocol { public FilterCapabilities getFilterCapabilities() { FilterCapabilities wfsFilterCapabilities; wfsFilterCapabilities = capabilities.getFilterCapabilities(); return wfsFilterCapabilities; } WFS_1_1_0_Protocol(InputStream capabilitiesReader, HTTPProtocol http); void setStrategy(WFSStrategy strategy); Version getServiceVersion(); String getServiceTitle(); String getServiceAbstract(); Set<String> getServiceKeywords(); URI getServiceProviderUri(); Set<String> getSupportedGetFeatureOutputFormats(); Set<String> getSupportedOutputFormats(String typeName); Set<QName> getFeatureTypeNames(); QName getFeatureTypeName(String typeName); FilterCapabilities getFilterCapabilities(); boolean supportsOperation(WFSOperationType operation, boolean post); URL getOperationURL(WFSOperationType operation, boolean post); String getFeatureTypeTitle(String typeName); String getFeatureTypeAbstract(String typeName); ReferencedEnvelope getFeatureTypeWGS84Bounds(String typeName); String getDefaultCRS(String typeName); Set<String> getSupportedCRSIdentifiers(String typeName); Set<String> getFeatureTypeKeywords(String typeName); URL getDescribeFeatureTypeURLGet(String typeName); WFSResponse describeFeatureTypeGET(String typeName, String outputFormat); WFSResponse describeFeatureTypePOST(String typeName, String outputFormat); WFSResponse issueGetFeatureGET(final GetFeature request); WFSResponse issueGetFeaturePOST(final GetFeature request); void dispose(); static void encode(final EObject request, final Configuration configuration,
            final OutputStream out, final Charset charset); String getDefaultOutputFormat(WFSOperationType operation); Filter[] splitFilters(Filter filter);  }