java.lang.Object
de.latlon.ets.wfs20.core.dgiwg.testsuite.dataprovider.WfsDataProvider

public final class WfsDataProvider extends Object
Provides data from WFS 2.0 capabilities.
Author:
Lyn Goltz
  • Method Details

    • provideFeatureTypeNodes

      public static Object[][] provideFeatureTypeNodes(org.opengis.cite.iso19142.ProtocolBinding protocolBinding, Document wfsCapabilities) throws XPathExpressionException
      Parses all FeatureType elements from the WFS 2.0 capabilities document.
      Parameters:
      protocolBinding - used to retrieve the data, never null
      wfsCapabilities - the capabilities document (wfs:WFS_Capabilities), never null
      Returns:
      an array of an array with the FeatureType node and parsed Name, never null
      Throws:
      XPathExpressionException - if the xpath expression could not be evaluated
    • provideStoredQueryDescriptionNodes

      public static Object[][] provideStoredQueryDescriptionNodes(org.opengis.cite.iso19142.ProtocolBinding protocolBinding, Document describeStoredQueryResponse) throws XPathExpressionException
      Parses all StoredQueryDescription nodes from a WFS 2.0 DescribeStoredQueries response document.
      Parameters:
      protocolBinding - used to retrieve the data, never null
      describeStoredQueryResponse - the DescribeStoredQueries response document, never null
      Returns:
      an array of an array with the StoredQueryDescription node and parsed Id element, never null
      Throws:
      XPathExpressionException - if the xpath expression could not be evaluated