Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.core
Interface ISourceRange


public interface ISourceRange

A source range defines an element's source coordinates relative to its source buffer.

Restriction:
This interface is not intended to be implemented by clients.

Method Summary
 int getLength ()
          Returns the number of characters of the source code for this element, relative to the source buffer in which this element is contained.
 int getOffset ()
          Returns the 0-based index of the first character of the source code for this element, relative to the source buffer in which this element is contained.
 

Method Detail

getLength

int getLength()
Returns the number of characters of the source code for this element, relative to the source buffer in which this element is contained.

Returns:
the number of characters of the source code for this element, relative to the source buffer in which this element is contained

getOffset

int getOffset()
Returns the 0-based index of the first character of the source code for this element, relative to the source buffer in which this element is contained.

Returns:
the 0-based index of the first character of the source code for this element, relative to the source buffer in which this element is contained

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire