java.lang.Object
org.apache.jena.atlas.json.io.parserjavacc.JSONPrinter
- All Implemented Interfaces:
JSONHandler
Parser debugging
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
element
(long currLine, long currCol) void
finishArray
(long currLine, long currCol) void
finishObject
(long currLine, long currCol) void
finishPair
(long currLine, long currCol) void
finishParse
(long currLine, long currCol) void
keyPair
(long currLine, long currCol) void
startArray
(long currLine, long currCol) void
startObject
(long currLine, long currCol) void
startPair
(long currLine, long currCol) void
startParse
(long currLine, long currCol) void
valueBoolean
(boolean b, long currLine, long currCol) void
valueDecimal
(String image, long currLine, long currCol) void
valueDouble
(String image, long currLine, long currCol) void
valueInteger
(String image, long currLine, long currCol) void
valueNull
(long currLine, long currCol) void
valueString
(String image, long currLine, long currCol)
-
Constructor Details
-
JSONPrinter
public JSONPrinter()
-
-
Method Details
-
startParse
public void startParse(long currLine, long currCol) - Specified by:
startParse
in interfaceJSONHandler
-
finishParse
public void finishParse(long currLine, long currCol) - Specified by:
finishParse
in interfaceJSONHandler
-
startObject
public void startObject(long currLine, long currCol) - Specified by:
startObject
in interfaceJSONHandler
-
finishObject
public void finishObject(long currLine, long currCol) - Specified by:
finishObject
in interfaceJSONHandler
-
startPair
public void startPair(long currLine, long currCol) - Specified by:
startPair
in interfaceJSONHandler
-
keyPair
public void keyPair(long currLine, long currCol) - Specified by:
keyPair
in interfaceJSONHandler
-
finishPair
public void finishPair(long currLine, long currCol) - Specified by:
finishPair
in interfaceJSONHandler
-
startArray
public void startArray(long currLine, long currCol) - Specified by:
startArray
in interfaceJSONHandler
-
element
public void element(long currLine, long currCol) - Specified by:
element
in interfaceJSONHandler
-
finishArray
public void finishArray(long currLine, long currCol) - Specified by:
finishArray
in interfaceJSONHandler
-
valueBoolean
public void valueBoolean(boolean b, long currLine, long currCol) - Specified by:
valueBoolean
in interfaceJSONHandler
-
valueDecimal
- Specified by:
valueDecimal
in interfaceJSONHandler
-
valueDouble
- Specified by:
valueDouble
in interfaceJSONHandler
-
valueInteger
- Specified by:
valueInteger
in interfaceJSONHandler
-
valueNull
public void valueNull(long currLine, long currCol) - Specified by:
valueNull
in interfaceJSONHandler
-
valueString
- Specified by:
valueString
in interfaceJSONHandler
-