org.geotools.gml
Class GMLReceiver

java.lang.Object
  extended by org.xml.sax.helpers.XMLFilterImpl
      extended by org.geotools.gml.GMLReceiver
All Implemented Interfaces:
GMLHandlerFeature, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, org.xml.sax.XMLFilter, org.xml.sax.XMLReader

public class GMLReceiver
extends org.xml.sax.helpers.XMLFilterImpl
implements GMLHandlerFeature

DOCUMENT ME!

Author:
Darren Edmonds

Constructor Summary
GMLReceiver(FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> featureCollection)
          Creates a new instance of GMLReceiver
 
Method Summary
 void feature(org.opengis.feature.simple.SimpleFeature feature)
          Receives an OGC feature and adds it into the collection
 
Methods inherited from class org.xml.sax.helpers.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Constructor Detail

GMLReceiver

public GMLReceiver(FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> featureCollection)
Creates a new instance of GMLReceiver

Parameters:
FeatureCollection - SimpleFeature> sets the FeatureCollection
Method Detail

feature

public void feature(org.opengis.feature.simple.SimpleFeature feature)
Receives an OGC feature and adds it into the collection

Specified by:
feature in interface GMLHandlerFeature
Parameters:
feature - the OGC feature


Copyright © 1996-2010 Geotools. All Rights Reserved.