org.geotools.geojson.feature
Class FeatureHandler

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

public class FeatureHandler
extends DelegatingHandler<SimpleFeature>


Field Summary
 
Fields inherited from class DelegatingHandler
delegate, handlers, NULL, NULL_LIST, UNINITIALIZED
 
Constructor Summary
FeatureHandler()
           
FeatureHandler(SimpleFeatureBuilder builder, AttributeIO attio)
           
 
Method Summary
 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)
           
 
Methods inherited from class DelegatingHandler
createDelegate, endJSON, endObjectEntry, getDelegate, lookupDelegate, startJSON
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureHandler

public FeatureHandler()

FeatureHandler

public FeatureHandler(SimpleFeatureBuilder builder,
                      AttributeIO attio)
Method Detail

startObject

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

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

primitive

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

getValue

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

getCRS

public CoordinateReferenceSystem getCRS()

setCRS

public void setCRS(CoordinateReferenceSystem crs)

init

public void init()


Copyright © 1996-2014 Geotools. All Rights Reserved.