XCC/J 3.2-9

com.marklogic.xcc.exceptions
Class XQueryStackFrame

java.lang.Object
  extended bycom.marklogic.xcc.exceptions.XQueryStackFrame

public class XQueryStackFrame
extends Object

An XQuery evaluator stack frame.


Constructor Summary
XQueryStackFrame(String uri, int line, String operation, XdmVariable[] 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 getLineNumber()
          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.
 XdmVariable[] 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

XQueryStackFrame

public XQueryStackFrame(String uri,
                        int line,
                        String operation,
                        XdmVariable[] 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.


getLineNumber

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


getOperation

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


getVariables

public XdmVariable[] 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.


XCC/J 3.2-9

Copyright © 2003-2008 Mark Logic Corporation, All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com