com.supermap.services.providers

Class 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).

    • Method Summary

      Methods 
      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).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeatureParser10000

        public FeatureParser10000()
        
    • Method Detail

      • parse

        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).

        Specified by:
        parse in class GMLParser
        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