Package org.geotools.geojson
Class HandlerBase
- Object
-
- HandlerBase
-
- All Implemented Interfaces:
ContentHandler
- Direct Known Subclasses:
ArrayHandler
,CRSHandler
,GeometryHandlerBase
public class HandlerBase extends Object implements ContentHandler
-
-
Constructor Summary
Constructors Constructor Description HandlerBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
endArray()
void
endJSON()
boolean
endObject()
boolean
endObjectEntry()
boolean
primitive(Object value)
boolean
startArray()
void
startJSON()
boolean
startObject()
boolean
startObjectEntry(String key)
-
-
-
Method Detail
-
startJSON
public void startJSON() throws ParseException, IOException
- Specified by:
startJSON
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endJSON
public void endJSON() throws ParseException, IOException
- Specified by:
endJSON
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startObject
public boolean startObject() throws ParseException, IOException
- Specified by:
startObject
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endObject
public boolean endObject() throws ParseException, IOException
- Specified by:
endObject
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startObjectEntry
public boolean startObjectEntry(String key) throws ParseException, IOException
- Specified by:
startObjectEntry
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endObjectEntry
public boolean endObjectEntry() throws ParseException, IOException
- Specified by:
endObjectEntry
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startArray
public boolean startArray() throws ParseException, IOException
- Specified by:
startArray
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endArray
public boolean endArray() throws ParseException, IOException
- Specified by:
endArray
in interfaceContentHandler
- Throws:
ParseException
IOException
-
primitive
public boolean primitive(Object value) throws ParseException, IOException
- Specified by:
primitive
in interfaceContentHandler
- Throws:
ParseException
IOException
-
-