public class QueryStackFrame
extends java.lang.Object
| Constructor and Description |
|---|
QueryStackFrame(java.lang.String uri,
int line, java.lang.String operation, XdmVariable[] variables,
java.lang.String contextItem, int contextPosition,
java.lang.String xqueryVersion)
Construct a stack frame.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
java.lang.String |
getOperation()
Get the description of the current
operation.
|
java.lang.String |
getUri()
Get the URI of the XQuery source.
|
XdmVariable[] |
getVariables()
Get the variable bindings.
|
java.lang.String |
getXQueryVersion()
Get the XQuery version for this stack
frame
|
public QueryStackFrame(java.lang.String uri,
int line,
java.lang.String operation,
XdmVariable[] variables,
java.lang.String contextItem,
int contextPosition,
java.lang.String xqueryVersion)
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.xqueryVersion - The XQuery version of the
modulepublic java.lang.String getUri()
public int getLineNumber()
public java.lang.String getOperation()
public XdmVariable[] getVariables()
public java.lang.String getContextItem()
public int getContextPosition()
public java.lang.String getXQueryVersion()
Copyright © 2026 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may
be found at
docs.progress.com