Package org.apache.johnzon.core
Class JsonLocationImpl
- java.lang.Object
-
- org.apache.johnzon.core.JsonLocationImpl
-
- All Implemented Interfaces:
jakarta.json.stream.JsonLocation
,Serializable
final class JsonLocationImpl extends Object implements jakarta.json.stream.JsonLocation, Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private long
columnNumber
private long
lineNumber
private long
streamOffset
static jakarta.json.stream.JsonLocation
UNKNOWN_LOCATION
-
Constructor Summary
Constructors Constructor Description JsonLocationImpl(long lineNumber, long columnNumber, long streamOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
long
getColumnNumber()
long
getLineNumber()
long
getStreamOffset()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getLineNumber
public long getLineNumber()
- Specified by:
getLineNumber
in interfacejakarta.json.stream.JsonLocation
-
getColumnNumber
public long getColumnNumber()
- Specified by:
getColumnNumber
in interfacejakarta.json.stream.JsonLocation
-
getStreamOffset
public long getStreamOffset()
- Specified by:
getStreamOffset
in interfacejakarta.json.stream.JsonLocation
-
-