Class JSONMaker

java.lang.Object
org.apache.jena.atlas.json.io.JSONMaker
All Implemented Interfaces:
JSONHandler

public class JSONMaker extends Object implements JSONHandler
Build a JSON structure
  • Constructor Details

    • JSONMaker

      public JSONMaker()
  • Method Details

    • jsonValue

      public JsonValue jsonValue()
    • startParse

      public void startParse(long currLine, long currCol)
      Specified by:
      startParse in interface JSONHandler
    • finishParse

      public void finishParse(long currLine, long currCol)
      Specified by:
      finishParse in interface JSONHandler
    • startObject

      public void startObject(long currLine, long currCol)
      Specified by:
      startObject in interface JSONHandler
    • finishObject

      public void finishObject(long currLine, long currCol)
      Specified by:
      finishObject in interface JSONHandler
    • startArray

      public void startArray(long currLine, long currCol)
      Specified by:
      startArray in interface JSONHandler
    • element

      public void element(long currLine, long currCol)
      Specified by:
      element in interface JSONHandler
    • finishArray

      public void finishArray(long currLine, long currCol)
      Specified by:
      finishArray in interface JSONHandler
    • startPair

      public void startPair(long currLine, long currCol)
      Specified by:
      startPair in interface JSONHandler
    • keyPair

      public void keyPair(long currLine, long currCol)
      Specified by:
      keyPair in interface JSONHandler
    • finishPair

      public void finishPair(long currLine, long currCol)
      Specified by:
      finishPair in interface JSONHandler
    • valueBoolean

      public void valueBoolean(boolean b, long currLine, long currCol)
      Specified by:
      valueBoolean in interface JSONHandler
    • valueDecimal

      public void valueDecimal(String image, long currLine, long currCol)
      Specified by:
      valueDecimal in interface JSONHandler
    • valueDouble

      public void valueDouble(String image, long currLine, long currCol)
      Specified by:
      valueDouble in interface JSONHandler
    • valueInteger

      public void valueInteger(String image, long currLine, long currCol)
      Specified by:
      valueInteger in interface JSONHandler
    • valueNull

      public void valueNull(long currLine, long currCol)
      Specified by:
      valueNull in interface JSONHandler
    • valueString

      public void valueString(String image, long currLine, long currCol)
      Specified by:
      valueString in interface JSONHandler