Package org.geotools.geojson.feature
Class FeatureCollectionHandler
- Object
-
- DelegatingHandler<SimpleFeature>
-
- FeatureCollectionHandler
-
- All Implemented Interfaces:
IFeatureCollectionHandler,IContentHandler<SimpleFeature>,ContentHandler
public class FeatureCollectionHandler extends DelegatingHandler<SimpleFeature> implements IFeatureCollectionHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Integer>stack-
Fields inherited from class DelegatingHandler
delegate, handlers, NULL, NULL_LIST, UNINITIALIZED
-
-
Constructor Summary
Constructors Constructor Description FeatureCollectionHandler()FeatureCollectionHandler(SimpleFeatureType featureType, AttributeIO attio)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanendArray()voidendJSON()booleanendObject()CoordinateReferenceSystemgetCRS()SimpleFeaturegetValue()booleanstartArray()booleanstartObjectEntry(String key)-
Methods inherited from class DelegatingHandler
createDelegate, endObjectEntry, getDelegate, lookupDelegate, 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:
startObjectEntryin interfaceContentHandler- Overrides:
startObjectEntryin classDelegatingHandler<SimpleFeature>- Throws:
ParseExceptionIOException
-
startArray
public boolean startArray() throws ParseException, IOException- Specified by:
startArrayin interfaceContentHandler- Overrides:
startArrayin classDelegatingHandler<SimpleFeature>- Throws:
ParseExceptionIOException
-
endArray
public boolean endArray() throws ParseException, IOException- Specified by:
endArrayin interfaceContentHandler- Overrides:
endArrayin classDelegatingHandler<SimpleFeature>- Throws:
ParseExceptionIOException
-
endObject
public boolean endObject() throws ParseException, IOException- Specified by:
endObjectin interfaceContentHandler- Overrides:
endObjectin classDelegatingHandler<SimpleFeature>- Throws:
ParseExceptionIOException
-
endJSON
public void endJSON() throws ParseException, IOException- Specified by:
endJSONin interfaceContentHandler- Overrides:
endJSONin classDelegatingHandler<SimpleFeature>- Throws:
ParseExceptionIOException
-
getCRS
public CoordinateReferenceSystem getCRS()
-
getValue
public SimpleFeature getValue()
- Specified by:
getValuein interfaceIContentHandler<SimpleFeature>- Overrides:
getValuein classDelegatingHandler<SimpleFeature>
-
-