com.supermap.services.providers
Class FeatureParser10000
- java.lang.Object
-
- com.supermap.services.providers.GMLParser
-
- com.supermap.services.providers.FeatureParser10000
-
public class FeatureParser10000 extends GMLParser
Feature parser in WFS 1.0.0.
In WFS 1.0.0, the Feature description is defined using the GML 2.1.1 standard, which can be used to parse GML 2.1.1 in an XML document The element information of standard definition, the result of the resolution is the feature defined in the WFS service implementation (
FeatureMember) or the feature set (FeatureCollection).
-
-
Constructor Summary
Constructors Constructor and Description FeatureParser10000()
-
Method Summary
Methods Modifier and Type Method and Description FeatureCollectionparse(org.w3c.dom.Document document, java.util.Map<java.lang.String,FeatureType> typeMap)The feature type specified in the XML document is resolved to the set of features defined in the WFS implementation (FeatureCollection).
-
-
-
Method Detail
-
parse
public FeatureCollection parse(org.w3c.dom.Document document, java.util.Map<java.lang.String,FeatureType> typeMap) throws ParseExceptionThe feature type specified in the XML document is resolved to the set of features defined in the WFS implementation (
FeatureCollection).- Specified by:
parsein classGMLParser- Parameters:
document- The XML document to parse.typeMap,- the specified feature type, represented by a mapping, where the key is the name of the feature type, the value is the corresponding feature type object.- Returns:
- WFS, a collection of features defined in the implementation.
- Throws:
ParseException,- an error occurred while parsing the XML document, and the document resolution exception was thrown.ParseException
-
-