Package com.realobjects.pdfreactor
Class JavaScriptRecord.SourceLocationInfo
java.lang.Object
com.realobjects.pdfreactor.JavaScriptRecord.SourceLocationInfo
- Enclosing class:
JavaScriptRecord
An object providing information about the location in a JavaScript that created the log record.
-
Method Summary
Modifier and TypeMethodDescriptionint
The end column.int
The start column.The context relative to the source, ornull
if its the top level context.int
The end line.int
The start line.An excerpt of the code that caused the log record.The source script file or user script.
-
Method Details
-
getSource
The source script file or user script.
-
getContext
The context relative to the source, or
null
if its the top level context. Can also indicate an element with an appropriate attribute. -
getSnippet
An excerpt of the code that caused the log record.
-
getLineStart
public int getLineStart()The start line. A value of zero indicates that the exact line could not be determined.
-
getLineEnd
public int getLineEnd()The end line. A value of zero indicates that the exact line could not be determined.
-
getColumnStart
public int getColumnStart()The start column. A value of zero indicates that the exact column could not be determined.
-
getColumnEnd
public int getColumnEnd()The end column. A value of zero indicates that the exact column could not be determined.
-