Package org.geotools.geojson
Class RecordingHandler
Object
RecordingHandler
- All Implemented Interfaces:
ContentHandler
Handler that records sequence of calls to be replayed layer.
- Author:
- Justin Deoliveira, OpenGeo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
endArray()
void
endJSON()
boolean
boolean
boolean
void
replay
(ContentHandler handler) boolean
void
boolean
boolean
startObjectEntry
(String key)
-
Constructor Details
-
RecordingHandler
public RecordingHandler()
-
-
Method Details
-
startJSON
- Specified by:
startJSON
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startObject
- Specified by:
startObject
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startObjectEntry
- Specified by:
startObjectEntry
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startArray
- Specified by:
startArray
in interfaceContentHandler
- Throws:
ParseException
IOException
-
primitive
- Specified by:
primitive
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endArray
- Specified by:
endArray
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endObjectEntry
- Specified by:
endObjectEntry
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endObject
- Specified by:
endObject
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endJSON
- Specified by:
endJSON
in interfaceContentHandler
- Throws:
ParseException
IOException
-
replay
- Throws:
ParseException
IOException
-