com.marklogic.xdbc
Class XDBCXQueryException.Frame

java.lang.Object
  extended bycom.marklogic.xdbc.XDBCXQueryException.Frame
Enclosing class:
XDBCXQueryException

public static class XDBCXQueryException.Frame
extends Object

An XQuery evaluator stack frame.

See Also:
XDBCXQueryException

Constructor Summary
XDBCXQueryException.Frame(String uri, int line, String operation, XDBCXQueryException.Variable[] variables, String contextItem, int contextPosition)
          Construct a stack frame.
 
Method Summary
 String getContextItem()
          Get the context item, or null if there is no context defined.
 int getContextPosition()
          Get the context position, or 0 if there is no context defined.
 int getLine()
          Get the line number in the XQuery source.
 String getOperation()
          Get the description of the current operation.
 String getURI()
          Get the URI of the XQuery source.
 XDBCXQueryException.Variable[] getVariables()
          Get the variable bindings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDBCXQueryException.Frame

public XDBCXQueryException.Frame(String uri,
                                 int line,
                                 String operation,
                                 XDBCXQueryException.Variable[] variables,
                                 String contextItem,
                                 int contextPosition)
Construct a stack frame.

Parameters:
uri - The URI of the XQuery source.
line - The line number in the XQuery source.
operation - The description of the current operation.
variables - The variable bindings.
contextItem - The context item or null.
contextPosition - The context position or 0.
Method Detail

getURI

public String getURI()
Get the URI of the XQuery source.


getLine

public int getLine()
Get the line number in the XQuery source.


getOperation

public String getOperation()
Get the description of the current operation.


getVariables

public XDBCXQueryException.Variable[] getVariables()
Get the variable bindings.


getContextItem

public String getContextItem()
Get the context item, or null if there is no context defined.


getContextPosition

public int getContextPosition()
Get the context position, or 0 if there is no context defined.