org.geotools.geojson.geom
Class GeometryCollectionHandler

Object
  extended by DelegatingHandler<GeometryCollection>
      extended by GeometryCollectionHandler
All Implemented Interfaces:
IContentHandler<GeometryCollection>, ContentHandler

public class GeometryCollectionHandler
extends DelegatingHandler<GeometryCollection>


Field Summary
 
Fields inherited from class DelegatingHandler
delegate, handlers, NULL, NULL_LIST, UNINITIALIZED
 
Constructor Summary
GeometryCollectionHandler(GeometryFactory factory)
           
 
Method Summary
 boolean endObject()
           
 boolean endObjectEntry()
           
 GeometryCollection getValue()
           
 boolean primitive(Object value)
           
 boolean startObject()
           
 boolean startObjectEntry(String key)
           
 
Methods inherited from class DelegatingHandler
createDelegate, endArray, endJSON, getDelegate, lookupDelegate, startArray, startJSON
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryCollectionHandler

public GeometryCollectionHandler(GeometryFactory factory)
Method Detail

startObject

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

endObject

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

startObjectEntry

public boolean startObjectEntry(String key)
                         throws ParseException,
                                IOException
Specified by:
startObjectEntry in interface ContentHandler
Overrides:
startObjectEntry in class DelegatingHandler<GeometryCollection>
Throws:
ParseException
IOException

endObjectEntry

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

primitive

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

getValue

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


Copyright © 1996-2014 Geotools. All Rights Reserved.