public class FeatureHandler extends DelegatingHandler<SimpleFeature>
delegate, handlers, NULL, NULL_LIST, UNINITIALIZED
Constructor and Description |
---|
FeatureHandler() |
FeatureHandler(SimpleFeatureBuilder builder,
AttributeIO attio) |
Modifier and Type | Method and Description |
---|---|
boolean |
endArray() |
boolean |
endObject() |
CoordinateReferenceSystem |
getCRS() |
SimpleFeature |
getValue() |
void |
init() |
boolean |
primitive(Object value) |
void |
setCRS(CoordinateReferenceSystem crs) |
boolean |
startArray() |
boolean |
startObject() |
boolean |
startObjectEntry(String key) |
createDelegate, endJSON, endObjectEntry, getDelegate, lookupDelegate, startJSON
public FeatureHandler()
public FeatureHandler(SimpleFeatureBuilder builder, AttributeIO attio)
public boolean startObject() throws ParseException, IOException
startObject
in interface ContentHandler
startObject
in class DelegatingHandler<SimpleFeature>
ParseException
IOException
public boolean startObjectEntry(String key) throws ParseException, IOException
startObjectEntry
in interface ContentHandler
startObjectEntry
in class DelegatingHandler<SimpleFeature>
ParseException
IOException
public boolean startArray() throws ParseException, IOException
startArray
in interface ContentHandler
startArray
in class DelegatingHandler<SimpleFeature>
ParseException
IOException
public boolean endArray() throws ParseException, IOException
endArray
in interface ContentHandler
endArray
in class DelegatingHandler<SimpleFeature>
ParseException
IOException
public boolean endObject() throws ParseException, IOException
endObject
in interface ContentHandler
endObject
in class DelegatingHandler<SimpleFeature>
ParseException
IOException
public boolean primitive(Object value) throws ParseException, IOException
primitive
in interface ContentHandler
primitive
in class DelegatingHandler<SimpleFeature>
ParseException
IOException
public SimpleFeature getValue()
getValue
in interface IContentHandler<SimpleFeature>
getValue
in class DelegatingHandler<SimpleFeature>
public CoordinateReferenceSystem getCRS()
public void setCRS(CoordinateReferenceSystem crs)
public void init()
Copyright © 1996–2019 Geotools. All rights reserved.