public class SYPosition extends AbstractPosition
| Constructor and Description |
|---|
SYPosition(org.yaml.snakeyaml.error.Mark mark,
ResourceLoader resourceLoader,
String resourcePath) |
| 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() |
void |
setIncludedResourceUri(String includedResourceURI)
Sets the URI of the resource in the current position
|
leftShift, rightShift, toStringpublic SYPosition(org.yaml.snakeyaml.error.Mark mark,
ResourceLoader resourceLoader,
String resourcePath)
public int getIndex()
Positionpublic int getLine()
Positionpublic int getColumn()
Position@Nonnull public String getPath()
Positionpublic String getIncludedResourceUri()
Positionpublic void setIncludedResourceUri(String includedResourceURI)
PositionincludedResourceURI - The resource URI@Nonnull public ResourceLoader getResourceLoader()
Copyright © 2017. All rights reserved.