org.geotools.geojson.feature
Class FeatureCollectionHandler

Object
  extended by DelegatingHandler<SimpleFeature>
      extended by FeatureCollectionHandler
All Implemented Interfaces:
IFeatureCollectionHandler, IContentHandler<SimpleFeature>, ContentHandler

public class FeatureCollectionHandler
extends DelegatingHandler<SimpleFeature>
implements IFeatureCollectionHandler


Field Summary
 
Fields inherited from class DelegatingHandler
delegate, handlers, NULL, NULL_LIST, UNINITIALIZED
 
Constructor Summary
FeatureCollectionHandler()
           
FeatureCollectionHandler(SimpleFeatureType featureType, AttributeIO attio)
           
 
Method Summary
 boolean endArray()
           
 void endJSON()
           
 boolean endObject()
           
 CoordinateReferenceSystem getCRS()
           
 SimpleFeature getValue()
           
 boolean startArray()
           
 boolean startObjectEntry(String key)
           
 
Methods inherited from class DelegatingHandler
createDelegate, endObjectEntry, getDelegate, lookupDelegate, primitive, startJSON, startObject
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ContentHandler
endObjectEntry, primitive, startJSON, startObject
 

Constructor Detail

FeatureCollectionHandler

public FeatureCollectionHandler()

FeatureCollectionHandler

public FeatureCollectionHandler(SimpleFeatureType featureType,
                                AttributeIO attio)
Method Detail

startObjectEntry

public boolean startObjectEntry(String key)
                         throws ParseException,
                                IOException
Specified by:
startObjectEntry in interface ContentHandler
Overrides:
startObjectEntry in class DelegatingHandler<SimpleFeature>
Throws:
ParseException
IOException

startArray

public boolean startArray()
                   throws ParseException,
                          IOException
Specified by:
startArray in interface ContentHandler
Overrides:
startArray in class DelegatingHandler<SimpleFeature>
Throws:
ParseException
IOException

endArray

public boolean endArray()
                 throws ParseException,
                        IOException
Specified by:
endArray in interface ContentHandler
Overrides:
endArray in class DelegatingHandler<SimpleFeature>
Throws:
ParseException
IOException

endObject

public boolean endObject()
                  throws ParseException,
                         IOException
Specified by:
endObject in interface ContentHandler
Overrides:
endObject in class DelegatingHandler<SimpleFeature>
Throws:
ParseException
IOException

endJSON

public void endJSON()
             throws ParseException,
                    IOException
Specified by:
endJSON in interface ContentHandler
Overrides:
endJSON in class DelegatingHandler<SimpleFeature>
Throws:
ParseException
IOException

getCRS

public CoordinateReferenceSystem getCRS()

getValue

public SimpleFeature getValue()
Specified by:
getValue in interface IContentHandler<SimpleFeature>
Overrides:
getValue in class DelegatingHandler<SimpleFeature>


Copyright © 1996-2014 Geotools. All Rights Reserved.