Class WfsgFeatureParser

java.lang.Object
org.gvsig.gazetteer.wfsg.parsers.WfsgFeatureParser

public class WfsgFeatureParser extends Object
This class is used to parse the getFeature request
Author:
Jorge Piera Llodra (piera_jor@gva.es)
  • Constructor Details

    • WfsgFeatureParser

      public WfsgFeatureParser()
  • Method Details

    • parse

      public Feature[] parse(org.gvsig.catalog.metadataxml.XMLNode node)
      It parses the answer
      Parameters:
      node - XML tree that contains the getFeature Answer
      featureType - FEature selected in the thesaurus list
      attribute - Attribute to do the search
      Returns:
      Array of features
    • parseWFS

      public Feature[] parseWFS(org.gvsig.catalog.metadataxml.XMLNode[] nodeFeatures, String featureType)
      It parses the a WFS answer
      Parameters:
      nodeFeatures - XML tree that contains the Features
      featureType - FEature selected in the thesaurus list
      attribute - Attribute to do the search
      geomField - Field that contains the geometry
      Returns:
      Array of features