Class WfsDataProvider
java.lang.Object
de.latlon.ets.wfs20.core.dgiwg.testsuite.dataprovider.WfsDataProvider
Provides data from WFS 2.0 capabilities.
- Author:
- Lyn Goltz
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object[][]provideFeatureTypeNodes(org.opengis.cite.iso19142.ProtocolBinding protocolBinding, Document wfsCapabilities) Parses all FeatureType elements from the WFS 2.0 capabilities document.static Object[][]provideStoredQueryDescriptionNodes(org.opengis.cite.iso19142.ProtocolBinding protocolBinding, Document describeStoredQueryResponse) Parses all StoredQueryDescription nodes from a WFS 2.0 DescribeStoredQueries response document.
-
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, nevernullwfsCapabilities- the capabilities document (wfs:WFS_Capabilities), nevernull- 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, nevernulldescribeStoredQueryResponse- the DescribeStoredQueries response document, nevernull- 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
-