Class RecordingHandler

Object
RecordingHandler
All Implemented Interfaces:
ContentHandler

public class RecordingHandler extends Object implements ContentHandler
Handler that records sequence of calls to be replayed layer.
Author:
Justin Deoliveira, OpenGeo
  • Constructor Details

    • RecordingHandler

      public RecordingHandler()
  • Method Details

    • startJSON

      public void startJSON() throws ParseException, IOException
      Specified by:
      startJSON in interface ContentHandler
      Throws:
      ParseException
      IOException
    • startObject

      public boolean startObject() throws ParseException, IOException
      Specified by:
      startObject in interface ContentHandler
      Throws:
      ParseException
      IOException
    • startObjectEntry

      public boolean startObjectEntry(String key) throws ParseException, IOException
      Specified by:
      startObjectEntry in interface ContentHandler
      Throws:
      ParseException
      IOException
    • startArray

      public boolean startArray() throws ParseException, IOException
      Specified by:
      startArray in interface ContentHandler
      Throws:
      ParseException
      IOException
    • primitive

      public boolean primitive(Object obj) throws ParseException, IOException
      Specified by:
      primitive in interface ContentHandler
      Throws:
      ParseException
      IOException
    • endArray

      public boolean endArray() throws ParseException, IOException
      Specified by:
      endArray in interface ContentHandler
      Throws:
      ParseException
      IOException
    • endObjectEntry

      public boolean endObjectEntry() throws ParseException, IOException
      Specified by:
      endObjectEntry in interface ContentHandler
      Throws:
      ParseException
      IOException
    • endObject

      public boolean endObject() throws ParseException, IOException
      Specified by:
      endObject in interface ContentHandler
      Throws:
      ParseException
      IOException
    • endJSON

      public void endJSON() throws ParseException, IOException
      Specified by:
      endJSON in interface ContentHandler
      Throws:
      ParseException
      IOException
    • replay

      public void replay(ContentHandler handler) throws ParseException, IOException
      Throws:
      ParseException
      IOException