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, toStringpublic LocationInResource(int offset,
int length,
int lineNumber,
int endLineNumber,
SourceRelativeURI srcRelativeResourceURI,
AbstractTrace trace)
public SourceRelativeURI getSrcRelativeResourceURI()
ILocationInResourcegetSrcRelativeResourceURI in interface ILocationInResourcegetSrcRelativeResourceURI in class AbstractLocationInResourceprotected int getOffset()
getOffset in class AbstractLocationInResourceprotected int getLength()
getLength in class AbstractLocationInResourceprotected int getLineNumber()
getLineNumber in class AbstractLocationInResourceprotected int getEndLineNumber()
getEndLineNumber in class AbstractLocationInResource