org.geotools.geojson.feature
Class ArrayHandler

Object
  extended by HandlerBase
      extended by ArrayHandler
All Implemented Interfaces:
IContentHandler<List>, ContentHandler

public class ArrayHandler
extends HandlerBase
implements IContentHandler<List>


Constructor Summary
ArrayHandler()
           
 
Method Summary
 boolean endArray()
           
 List getValue()
           
 boolean primitive(Object value)
           
 boolean startArray()
           
 
Methods inherited from class HandlerBase
endJSON, endObject, endObjectEntry, startJSON, startObject, startObjectEntry
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ContentHandler
endJSON, endObject, endObjectEntry, startJSON, startObject, startObjectEntry
 

Constructor Detail

ArrayHandler

public ArrayHandler()
Method Detail

startArray

public boolean startArray()
                   throws ParseException,
                          IOException
Specified by:
startArray in interface ContentHandler
Overrides:
startArray in class HandlerBase
Throws:
ParseException
IOException

primitive

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

endArray

public boolean endArray()
                 throws ParseException,
                        IOException
Specified by:
endArray in interface ContentHandler
Overrides:
endArray in class HandlerBase
Throws:
ParseException
IOException

getValue

public List getValue()
Specified by:
getValue in interface IContentHandler<List>


Copyright © 1996-2014 Geotools. All Rights Reserved.