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 and Description |
---|
FeatureParser10000() |
Modifier and Type | Method and Description |
---|---|
FeatureCollection |
parse(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 ). |
public FeatureCollection parse(org.w3c.dom.Document document, java.util.Map<java.lang.String,FeatureType> typeMap) throws ParseException
The feature type specified in the XML document is resolved to the set of features defined in the WFS implementation (FeatureCollection
).
parse
in class GMLParser
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.ParseException,
- an error occurred while parsing the XML document, and the document resolution exception was thrown.ParseException