1
<!--Id: xmlquery_class.so,v 1.9 2002/07/29 04:20:27 mjc Exp -->
2
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
<!--All rights reserved.-->
4
<!--See the file LICENSE for redistribution information.-->
7
<title>Berkeley DB: XmlQueryContext</title>
8
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
12
<a name="2"><!--meow--></a>
13
<table width="100%"><tr valign=top>
15
<h1>XmlQueryContext</h1>
18
<a href="../api_java/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
23
import com.sleepycat.dbxml.*;
25
public class XmlQueryContext extends Object
27
XmlQueryContext(int flags)
33
<p>An XmlQueryContext is the context within which a query is
34
performed against an <a href="../api_java/xmlcontainer_class.html">XmlContainer</a>. This context includes a
35
namespace mapping, variable bindings, and flags that determine how the
36
query result set should be determined and returned to the caller.
37
<p>The XPath syntax permits expressions to refer to namespace prefixes,
38
but not to define them. The XmlQueryContext class provides
39
namespace management methods so the caller may manage the namespace
40
prefix to URI mapping. The XPath syntax also permits expressions to
41
refer to variables, but not to define them. The XmlQueryContext class
42
provides methods so the caller may manage the variable to value
45
<a href="../api_java/xmlcontainer_class.html">XmlContainer</a>, <a href="../api_java/xmldocument_class.html">XmlDocument</a>, <a href="../api_java/xmlquery_class.html">XmlQueryContext</a>
47
<a href="../api_java/xml_close.html">XmlContainer.close</a>,
48
<a href="../api_java/xml_declare.html">XmlContainer.declareIndex</a>,
49
<a href="../api_java/xml_del.html">XmlContainer.deleteDocument</a>,
50
<a href="../api_java/xml_get.html">XmlContainer.getDocument</a>,
51
<a href="../api_java/xml_getname.html">XmlContainer.getName</a>,
52
<a href="../api_java/xml_open.html">XmlContainer.open</a>,
53
<a href="../api_java/xml_put.html">XmlContainer.putDocument</a>
55
<a href="../api_java/xml_xpath.html">XmlContainer.queryWithXPath</a>.
57
<a href="../api_java/xmldoc_getattr.html">XmlDocument.getAttributeValue</a>,
58
<a href="../api_java/xmldoc_getcont.html">XmlDocument.getContent</a>,
59
<a href="../api_java/xmldoc_getid.html">XmlDocument.getID</a>,
60
<a href="../api_java/xmldoc_getname.html">XmlDocument.getName</a>,
61
<a href="../api_java/xmldoc_gettype.html">XmlDocument.getType</a>,
62
<a href="../api_java/xmldoc_setcont.html">XmlDocument.setContent</a>,
63
<a href="../api_java/xmldoc_setname.html">XmlDocument.setName</a>,
65
<a href="../api_java/xmldoc_settype.html">XmlDocument.setType</a>.
67
<table width="100%"><tr><td><br></td><td align=right>
68
<a href="../api_java/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
70
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>