Package org.opengis.cite.wfs11
Class GetFeatureTestExtension
java.lang.Object
org.opengis.cite.wfs11.GetFeatureTestExtension
Extension functions for ctl scripts to retrieve informations which can not be retrieved
by xslt/ctl.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Node
findFeatureTypeAndPropertyName
(Node wfsCapabilities) Iterates about the feature types specified in the capabilities, for each feature type the schema document is requested (DescribeFeatureType).
-
Constructor Details
-
GetFeatureTestExtension
public GetFeatureTestExtension()
-
-
Method Details
-
findFeatureTypeAndPropertyName
Iterates about the feature types specified in the capabilities, for each feature type the schema document is requested (DescribeFeatureType). The features are requested and compared with the schema document. If a feature contains a value for a simple property (string, integer, double), this information is returned. The returned node looks like (if all informations could be found):<FeatureData> <FeatureType> <localName>AggregateGeoFeature</localName> <namespace>http://cite.opengeospatial.org/gmlsf</namespace> </FeatureType> <Property> <localName>doubleProperty</localName> <namespace>http://cite.opengeospatial.org/gmlsf</namespace> </Property> <value>2012.78</value> </FeatureData>
- Parameters:
wfsCapabilities
- the capabilities of the wfs, nevernull
- Returns:
- a tupel containing the value of a property specified by the feature type,
the property and feature type in xml format (described above), may be
null
if no such tupel could be found - Throws:
Exception
- if an error occurred
-