gate.jape
Class SourceInfo.BlockInfo

java.lang.Object
  extended by gate.jape.SourceInfo.BlockInfo
Enclosing class:
SourceInfo

private class SourceInfo.BlockInfo
extends Object


Field Summary
(package private)  int endLine
           
(package private)  int endOffset
           
(package private)  int japeLine
           
(package private)  String japeURL
           
(package private)  int startLine
           
(package private)  int startOffset
           
 
Constructor Summary
SourceInfo.BlockInfo(String japeURL, int japeLine, int startLine, int endLine, int startOffset, int endOffset)
           
 
Method Summary
 boolean contains(int lineNumber)
           
 int getJapeLineNumber(int javaLineNumber)
           
 String getNumberedSource(String source)
           
 String getSource(String source)
           
 String getSource(String source, int line)
           
 StackTraceElement getStackTraceElement(int javaLineNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

japeURL

String japeURL

japeLine

int japeLine

startLine

int startLine

endLine

int endLine

startOffset

int startOffset

endOffset

int endOffset
Constructor Detail

SourceInfo.BlockInfo

SourceInfo.BlockInfo(String japeURL,
                     int japeLine,
                     int startLine,
                     int endLine,
                     int startOffset,
                     int endOffset)
Method Detail

contains

public boolean contains(int lineNumber)

getNumberedSource

public String getNumberedSource(String source)

getSource

public String getSource(String source,
                        int line)

getJapeLineNumber

public int getJapeLineNumber(int javaLineNumber)

getStackTraceElement

public StackTraceElement getStackTraceElement(int javaLineNumber)

getSource

public String getSource(String source)