Package javax.xml.xquery
Class XQStackTraceVariable
- java.lang.Object
-
- javax.xml.xquery.XQStackTraceVariable
-
- All Implemented Interfaces:
Serializable
public class XQStackTraceVariable extends Object implements Serializable
This class represents the list of variables and their values in an error stack.- See Also:
XQStackTraceElement,XQQueryException, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XQStackTraceVariable(QName qname, String value)Construct a stack trace variable object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetQName()Gets theQNameof the variable.StringgetValue()Gets a short string representation of the value of the stack variable.
-
-
-
Method Detail
-
getQName
public QName getQName()
Gets theQNameof the variable.- Returns:
- the
QNameof the variable in the stack
-
getValue
public String getValue()
Gets a short string representation of the value of the stack variable. Representations of values are vendor specific and for XML node types may be XPath descriptions such as "doc("0596003870/book1.xml")/book/chapter[5]". Sequences may print just some set of values from the sequence such as '("5", "6", "7", ...)'.- Returns:
- the
Stringrepresentation of the value of the variable. This representation is vendor specific.
-
-