public class FeatureTypeHandler extends DelegatingHandler<SimpleFeatureType> implements IContentHandler<SimpleFeatureType>
If null values are encoded, parsing will stop when all data types are found. In the worst case, all features will be parsed. If null values are not encoded, all features will be parsed anyway.
delegate, handlers, NULL, NULL_LIST, UNINITIALIZED
Constructor and Description |
---|
FeatureTypeHandler(boolean nullValuesEncoded) |
Modifier and Type | Method and Description |
---|---|
void |
endJSON() |
boolean |
endObject() |
boolean |
endObjectEntry() |
SimpleFeatureType |
getValue() |
boolean |
primitive(Object value) |
boolean |
startArray() |
boolean |
startObjectEntry(String key) |
createDelegate, endArray, getDelegate, lookupDelegate, startJSON, startObject
public boolean startObjectEntry(String key) throws ParseException, IOException
startObjectEntry
in interface ContentHandler
startObjectEntry
in class DelegatingHandler<SimpleFeatureType>
ParseException
IOException
public boolean startArray() throws ParseException, IOException
startArray
in interface ContentHandler
startArray
in class DelegatingHandler<SimpleFeatureType>
ParseException
IOException
public boolean endObject() throws ParseException, IOException
endObject
in interface ContentHandler
endObject
in class DelegatingHandler<SimpleFeatureType>
ParseException
IOException
public boolean primitive(Object value) throws ParseException, IOException
primitive
in interface ContentHandler
primitive
in class DelegatingHandler<SimpleFeatureType>
ParseException
IOException
public boolean endObjectEntry() throws ParseException, IOException
endObjectEntry
in interface ContentHandler
endObjectEntry
in class DelegatingHandler<SimpleFeatureType>
ParseException
IOException
public void endJSON() throws ParseException, IOException
endJSON
in interface ContentHandler
endJSON
in class DelegatingHandler<SimpleFeatureType>
ParseException
IOException
public SimpleFeatureType getValue()
getValue
in interface IContentHandler<SimpleFeatureType>
getValue
in class DelegatingHandler<SimpleFeatureType>
Copyright © 1996–2023 Geotools. All rights reserved.