com.supermap.services.providers

Class GMLParser

  • java.lang.Object
    • com.supermap.services.providers.GMLParser
  • Direct Known Subclasses:
    FeatureParser10000


    public abstract class GMLParser
    extends java.lang.Object
    

    GML Document Parser.

    Used to parse Feature defined by the GML standard from an XML document.

    • Constructor Summary

      Constructors 
      Constructor and Description
      GMLParser() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      abstract FeatureCollection parse(org.w3c.dom.Document document, java.util.Map<java.lang.String,FeatureType> typeMap)
      The feature information for the specified feature type is parsed from the XML document, and the feature information is defined by the GML standard.
      • Methods inherited from class java.lang.Object

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

      • GMLParser

        public GMLParser()
        
    • Method Detail

      • parse

        public abstract FeatureCollection parse(org.w3c.dom.Document document,
                              java.util.Map<java.lang.String,FeatureType> typeMap)
                                         throws ParseException
        

        The feature information for the specified feature type is parsed from the XML document, and the feature information is defined by the GML standard.

        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