public final class SourcePositionImpl extends Object implements MSourcePosition
Implementation of JSourcePosition and MSourcePosition.
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Returns the text column number for this source position, or -1 if
it is not known.
|
int |
getLine()
Returns the text line number for this source position, or -1 if
it is not known.
|
URI |
getSourceURI()
Returns the URI of the source file, or null if it is not known.
|
void |
setColumn(int col)
Sets the text column number for this source position.
|
void |
setLine(int line)
Sets the text line number for this source position.
|
void |
setSourceURI(URI uri)
Sets the URI of the source file.
|
public void setColumn(int col)
MSourcePositionsetColumn in interface MSourcePositionpublic void setLine(int line)
MSourcePositionsetLine in interface MSourcePositionpublic void setSourceURI(URI uri)
MSourcePositionsetSourceURI in interface MSourcePositionpublic int getColumn()
JSourcePositiongetColumn in interface JSourcePositionpublic int getLine()
JSourcePositiongetLine in interface JSourcePositionpublic URI getSourceURI()
JSourcePositiongetSourceURI in interface JSourcePositionCopyright © 2010 - 2020 Adobe. All Rights Reserved