public class LocationInResource extends AbstractLocationInResource
Constructor and Description |
---|
LocationInResource(int offset,
int length,
int lineNumber,
int endLineNumber,
SourceRelativeURI srcRelativeResourceURI,
AbstractTrace trace) |
Modifier and Type | Method and Description |
---|---|
protected int |
getEndLineNumber() |
protected int |
getLength() |
protected int |
getLineNumber() |
protected int |
getOffset() |
SourceRelativeURI |
getSrcRelativeResourceURI()
Returns the URI of this resource relative to the classpath if applicable.
|
getAbsoluteResourceURI, getContents, getLanguage, getProjectConfig, getTextRegion, getTrace, toString
public LocationInResource(int offset, int length, int lineNumber, int endLineNumber, SourceRelativeURI srcRelativeResourceURI, AbstractTrace trace)
public SourceRelativeURI getSrcRelativeResourceURI()
ILocationInResource
getSrcRelativeResourceURI
in interface ILocationInResource
getSrcRelativeResourceURI
in class AbstractLocationInResource
protected int getOffset()
getOffset
in class AbstractLocationInResource
protected int getLength()
getLength
in class AbstractLocationInResource
protected int getLineNumber()
getLineNumber
in class AbstractLocationInResource
protected int getEndLineNumber()
getEndLineNumber
in class AbstractLocationInResource