Class JSONEvent
java.lang.Object
org.ghotibeaun.json.parser.jep.eventhandler.event.JSONEvent
- Direct Known Subclasses:
JSONTokenEvent
public abstract class JSONEvent extends Object
-
Method Summary
Modifier and Type Method Description int
getColumn()
abstract ByteBuffer
getData()
abstract JSONEventType
getEventType()
int
getLineNumber()
static JSONEvent
newDataEvent(ByteBuffer data, JSONEventType type)
static JSONEvent
newDataEvent(ByteBuffer data, JSONEventType type, int lineNumber, int column)
static JSONEvent
newTokenEvent(JSONEventType type)
static JSONEvent
newTokenEvent(JSONEventType type, int lineNumber, int column)
String
toString()
-
Method Details
-
getLineNumber
public int getLineNumber() -
getColumn
public int getColumn() -
getEventType
-
getData
-
newDataEvent
-
newDataEvent
public static JSONEvent newDataEvent(ByteBuffer data, JSONEventType type, int lineNumber, int column) -
newTokenEvent
-
newTokenEvent
-
toString
-