Class JavaScriptRecord.SourceLocationInfo

java.lang.Object
com.realobjects.pdfreactor.JavaScriptRecord.SourceLocationInfo
Enclosing class:
JavaScriptRecord

public class JavaScriptRecord.SourceLocationInfo extends Object
An object providing information about the location in a JavaScript that created the log record.
  • Method Details

    • getSource

      public String getSource()

      The source script file or user script.

    • getContext

      public String 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

      public String 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.