public interface Position
| Modifier and Type | Field and Description |
|---|---|
static int |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Column number
|
String |
getIncludedResourceUri()
Returns the resource URI of the current position
|
int |
getIndex()
The offset from the begining of the file
|
int |
getLine()
The line line number
|
String |
getPath()
Returns the absolute path of the resource where this position is relative to
|
ResourceLoader |
getResourceLoader() |
Position |
leftShift(int offset) |
Position |
rightShift(int offset) |
void |
setIncludedResourceUri(String includedResourceURI)
Sets the URI of the resource in the current position
|
static final int UNKNOWN
int getIndex()
int getLine()
int getColumn()
@Nonnull String getPath()
@Nullable String getIncludedResourceUri()
void setIncludedResourceUri(String includedResourceURI)
includedResourceURI - The resource URI@Nonnull ResourceLoader getResourceLoader()
Copyright © 2017. All rights reserved.