Class GMLReceiver

  • All Implemented Interfaces:
    GMLHandlerFeature, ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XMLFilter, XMLReader

    public class GMLReceiver
    extends XMLFilterImpl
    implements GMLHandlerFeature
    Author:
    Darren Edmonds
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void feature​(SimpleFeature feature)
      Receives an OGC feature and adds it into the collection
      • Methods inherited from class XMLFilterImpl

        characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface ContentHandler

        characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
    • Constructor Detail

      • GMLReceiver

        public GMLReceiver​(DefaultFeatureCollection featureCollection)
        Creates a new instance of GMLReceiver
        Parameters:
        featureCollection - sets the FeatureCollection
    • Method Detail

      • feature

        public void feature​(SimpleFeature feature)
        Receives an OGC feature and adds it into the collection
        Specified by:
        feature in interface GMLHandlerFeature
        Parameters:
        feature - the OGC feature