Class AbstractJsonStreamParser.CallbackJsonPathListener

  • All Implemented Interfaces:
    org.jsfr.json.JsonPathListener
    Enclosing class:
    AbstractJsonStreamParser

    protected class AbstractJsonStreamParser.CallbackJsonPathListener
    extends java.lang.Object
    implements org.jsfr.json.JsonPathListener
    Listener class for JsonPath matches.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CallbackJsonPathListener​(java.lang.String field)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onValue​(java.lang.Object value, org.jsfr.json.ParsingContext context)
      Return chunks of data to the callback interface.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onValue

        public void onValue​(java.lang.Object value,
                            org.jsfr.json.ParsingContext context)
        Return chunks of data to the callback interface.
        Specified by:
        onValue in interface org.jsfr.json.JsonPathListener
        Parameters:
        value - the value of json node that matches bound JsonPath
        context - parsing context