Package com.github.erosb.jsonsKema
Class SourceLocation
-
- All Implemented Interfaces:
public class SourceLocation extends TextLocation
-
-
Field Summary
Fields Modifier and Type Field Description private final JsonPointerpointerprivate final IntegerlineNumberprivate final Integerpositionprivate final URIdocumentSource
-
Constructor Summary
Constructors Constructor Description SourceLocation(Integer lineNumber, Integer position, JsonPointer pointer, URI documentSource)
-
Method Summary
Modifier and Type Method Description final JsonPointergetPointer()Booleanequals(Object other)IntegerhashCode()final StringgetLocation()StringtoString()final SourceLocationwithPointer(JsonPointer pointer)-
-
Constructor Detail
-
SourceLocation
SourceLocation(Integer lineNumber, Integer position, JsonPointer pointer, URI documentSource)
-
-
Method Detail
-
getPointer
final JsonPointer getPointer()
-
getLocation
final String getLocation()
-
withPointer
final SourceLocation withPointer(JsonPointer pointer)
-
-
-
-