public class XQueryStackFrame extends Object
| Constructor and Description |
|---|
XQueryStackFrame(String uri,
int line,
String operation,
XdmVariable[] variables,
String contextItem,
int contextPosition,
String xqueryVersion)
Construct a stack frame.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getXQueryVersion()
Get the XQuery version for this stack frame
|
public XQueryStackFrame(String uri, int line, String operation, XdmVariable[] variables, String contextItem, int contextPosition, 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 String getUri()
public int getLineNumber()
public String getOperation()
public XdmVariable[] getVariables()
public String getContextItem()
public int getContextPosition()
public String getXQueryVersion()
Copyright © 2016 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com