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, startObjectpublic boolean startObjectEntry(String key) throws ParseException, IOException
startObjectEntry in interface ContentHandlerstartObjectEntry in class DelegatingHandler<SimpleFeatureType>ParseExceptionIOExceptionpublic boolean startArray()
throws ParseException,
IOException
startArray in interface ContentHandlerstartArray in class DelegatingHandler<SimpleFeatureType>ParseExceptionIOExceptionpublic boolean endObject()
throws ParseException,
IOException
endObject in interface ContentHandlerendObject in class DelegatingHandler<SimpleFeatureType>ParseExceptionIOExceptionpublic boolean primitive(Object value) throws ParseException, IOException
primitive in interface ContentHandlerprimitive in class DelegatingHandler<SimpleFeatureType>ParseExceptionIOExceptionpublic boolean endObjectEntry()
throws ParseException,
IOException
endObjectEntry in interface ContentHandlerendObjectEntry in class DelegatingHandler<SimpleFeatureType>ParseExceptionIOExceptionpublic void endJSON()
throws ParseException,
IOException
endJSON in interface ContentHandlerendJSON in class DelegatingHandler<SimpleFeatureType>ParseExceptionIOExceptionpublic SimpleFeatureType getValue()
getValue in interface IContentHandler<SimpleFeatureType>getValue in class DelegatingHandler<SimpleFeatureType>Copyright © 1996–2021 Geotools. All rights reserved.