779 lines
63 KiB
HTML
779 lines
63 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>XQilla XQC API Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.6.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>XQC_StaticContext_s Struct Reference</h1><!-- doxytag: class="XQC_StaticContext_s" -->
|
|
<p>The <a class="el" href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> struct provides a way to specify values for the static context of the query to be prepared.
|
|
<a href="#_details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="xqc_8h_source.html">xqc.h</a>></code></p>
|
|
|
|
<p><a href="structXQC__StaticContext__s-members.html">List of all members.</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a785db756c2de3e89d760af92ad43afb6">create_child_context</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> **child_context)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a child context of the given static context. <a href="#a785db756c2de3e89d760af92ad43afb6"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#aa4e8b52a4b99929b5136e54b1675fa6d">declare_ns</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *prefix, const char *uri)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a (prefix, uri) pair to the set of statically known namespaces of the given context. <a href="#aa4e8b52a4b99929b5136e54b1675fa6d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a197e8973fde8e9d272edab94edbc61fa">get_ns_by_prefix</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *prefix, const char **result_ns)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the namespace uri that belongs to the given prefix. <a href="#a197e8973fde8e9d272edab94edbc61fa"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#aef512c6e2097bec0c7d9a424e0008d77">set_default_element_and_type_ns</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *uri)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the value of the default namespace for elements and types. <a href="#aef512c6e2097bec0c7d9a424e0008d77"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#ae570f4665fd72754a67c80155a87ccc7">get_default_element_and_type_ns</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char **uri)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a8a098be9ed3d79bcecb6be9e2a15f2f3">set_default_function_ns</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *uri)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default namespace for functions. <a href="#a8a098be9ed3d79bcecb6be9e2a15f2f3"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a737a5500f0211e7d8fd9c208b33cffff">get_default_function_ns</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char **uri)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returnsthe default namespace for functions set in this static context. <a href="#a737a5500f0211e7d8fd9c208b33cffff"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a8006fb39a40dc3ae76e7c76725d54370">set_xpath_compatib_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6">XQC_XPath1Mode</a> mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the XPath 1.0 compatibility mode to either XQC_XPATH1_0 or XQC_XPATH2_0. <a href="#a8006fb39a40dc3ae76e7c76725d54370"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a75ffd05f4ce6a3e4c4b9f1dfc26dc82a">get_xpath_compatib_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6">XQC_XPath1Mode</a> *mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the XPath 1.0 compatibility that is set in the given static context. <a href="#a75ffd05f4ce6a3e4c4b9f1dfc26dc82a"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a50e12d46898d711ace78cfa393079231">set_construction_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52">XQC_ConstructionMode</a> mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the construction mode to either XQC_PRESERVE_CONS or XQC_StaticContext. <a href="#a50e12d46898d711ace78cfa393079231"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a2887fe53d46a362f54df096be6c8bd5d">get_construction_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52">XQC_ConstructionMode</a> *mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the construction mode that is set in the given static context. <a href="#a2887fe53d46a362f54df096be6c8bd5d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#aa5b73efc1810ad280aea351c0c052fd4">set_ordering_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642">XQC_OrderingMode</a> mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the ordering mode to either XQC_ORDERED or XQC_UNORDERED. <a href="#aa5b73efc1810ad280aea351c0c052fd4"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a4d2fc80156ebad37f6c06f299f1210bf">get_ordering_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642">XQC_OrderingMode</a> *mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the ordering mode that is set in the given static context. <a href="#a4d2fc80156ebad37f6c06f299f1210bf"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a0843d049e30939d23712e4e237ecf597">set_default_order_empty_sequences</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1">XQC_OrderEmptyMode</a> mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default order mode for empty sequences to either XQC_EMTPY_LEAST or XQC_EMPTY_GREATEST. <a href="#a0843d049e30939d23712e4e237ecf597"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a59f50a061dc6f1dd4787639384059311">get_default_order_empty_sequences</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1">XQC_OrderEmptyMode</a> *mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the default order mode for empty sequences that is set in the given static context. <a href="#a59f50a061dc6f1dd4787639384059311"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#af751e75df9357b47cab7bbfedc7bea3c">set_boundary_space_policy</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40b">XQC_BoundarySpaceMode</a> mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the boundary space policy to either XQC_PRESERVE_SPACE or XQC_STRIP_SPACE. <a href="#af751e75df9357b47cab7bbfedc7bea3c"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a65ebb98ea475a2168543847f5918970a">get_boundary_space_policy</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40b">XQC_BoundarySpaceMode</a> *mode)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the boundary space policy that is set in the given static context. <a href="#a65ebb98ea475a2168543847f5918970a"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a510e5e9af756c2b61046fcfd8fe7a1af">set_copy_ns_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f">XQC_PreserveMode</a> preserve, <a class="el" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0">XQC_InheritMode</a> inherit)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the copy namespace mode which consists of the preserve and the inherit mode. <a href="#a510e5e9af756c2b61046fcfd8fe7a1af"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a75b20fc75c17c30df3e236b52cb89cd7">get_copy_ns_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f">XQC_PreserveMode</a> *preserve, <a class="el" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0">XQC_InheritMode</a> *inherit)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the copy namespace mode as a pair consisting of the preserve and the inherit mode. <a href="#a75b20fc75c17c30df3e236b52cb89cd7"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a10421f989bb2d7f42b12be2e57a8bfc8">set_base_uri</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *base_uri)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the base uri in the given static context. <a href="#a10421f989bb2d7f42b12be2e57a8bfc8"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#ac74bba04464c97253c51841079ce09e0">get_base_uri</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char **base_uri)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the base uri that is set in the given static context. <a href="#ac74bba04464c97253c51841079ce09e0"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a327c278c2968546780e361bf5397f30e">set_error_handler</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="structXQC__ErrorHandler__s.html">XQC_ErrorHandler</a> *handler)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a68b2971a0aa150c6e111d3fa2cc6ff69">get_error_handler</a> )(const <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="structXQC__ErrorHandler__s.html">XQC_ErrorHandler</a> **handler)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#aa2825c7ad6c7fff378ec8ebbcbcaefd1">get_interface</a> )(const <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *name)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Called to retrieve an implementation specific interface. <a href="#aa2825c7ad6c7fff378ec8ebbcbcaefd1"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a2e0112bce0e0f408c17d5c305ad8b84a">free</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Called to free the resources associated with the XQC_StaticContext. <a href="#a2e0112bce0e0f408c17d5c305ad8b84a"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>The <a class="el" href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> struct provides a way to specify values for the static context of the query to be prepared. </p>
|
|
<p>An <a class="el" href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> object is not thread-safe - threads should each use their own instance of a <a class="el" href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> object.</p>
|
|
<p><a class="el" href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> objects are created by calling the <a class="el" href="structXQC__Implementation__s.html#ad1708e34ad5052e3441c07fc2578c32a" title="Creates a static context suitable for use in the prepare(), prepare_file() and prepare_stream()...">XQC_Implementation::create_context()</a> function. Once created, the user is responsible for freeing the object by calling the <a class="el" href="structXQC__StaticContext__s.html#a2e0112bce0e0f408c17d5c305ad8b84a" title="Called to free the resources associated with the XQC_StaticContext.">free()</a> function. The <a class="el" href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> object should be freed before the <a class="el" href="xqc_8h.html#a3d46d69abb6d7b408bb8cd8c02ce66fb">XQC_Implementation</a> object that created it. </p>
|
|
<hr/><h2>Member Data Documentation</h2>
|
|
<a class="anchor" id="a785db756c2de3e89d760af92ad43afb6"></a><!-- doxytag: member="XQC_StaticContext_s::create_child_context" ref="a785db756c2de3e89d760af92ad43afb6" args=")(XQC_StaticContext *context, XQC_StaticContext **child_context)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a785db756c2de3e89d760af92ad43afb6">XQC_StaticContext_s::create_child_context</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> **child_context)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Creates a child context of the given static context. </p>
|
|
<p>A child context contains the same information as it's parent context but it allows the user to override and add information. The user is responsible for freeing the <a class="el" href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> object returned by calling <a class="el" href="structXQC__StaticContext__s.html#a2e0112bce0e0f408c17d5c305ad8b84a" title="Called to free the resources associated with the XQC_StaticContext.">XQC_StaticContext::free()</a>.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>child_context</em> </td><td>The newly created XQC_StaticContext object which is a child of the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa4e8b52a4b99929b5136e54b1675fa6d"></a><!-- doxytag: member="XQC_StaticContext_s::declare_ns" ref="aa4e8b52a4b99929b5136e54b1675fa6d" args=")(XQC_StaticContext *context, const char *prefix, const char *uri)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#aa4e8b52a4b99929b5136e54b1675fa6d">XQC_StaticContext_s::declare_ns</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *prefix, const char *uri)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Adds a (prefix, uri) pair to the set of statically known namespaces of the given context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>prefix</em> </td><td>The prefix of the namespace to add to the given XQC_StaticContext. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>uri</em> </td><td>The uri of the namespace to add to the given XQC_StaticContext.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2e0112bce0e0f408c17d5c305ad8b84a"></a><!-- doxytag: member="XQC_StaticContext_s::free" ref="a2e0112bce0e0f408c17d5c305ad8b84a" args=")(XQC_StaticContext *context)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void(* <a class="el" href="structXQC__StaticContext__s.html#a2e0112bce0e0f408c17d5c305ad8b84a">XQC_StaticContext_s::free</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Called to free the resources associated with the XQC_StaticContext. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac74bba04464c97253c51841079ce09e0"></a><!-- doxytag: member="XQC_StaticContext_s::get_base_uri" ref="ac74bba04464c97253c51841079ce09e0" args=")(XQC_StaticContext *context, const char **base_uri)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#ac74bba04464c97253c51841079ce09e0">XQC_StaticContext_s::get_base_uri</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char **base_uri)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the base uri that is set in the given static context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>base_uri</em> </td><td>The base uri that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a65ebb98ea475a2168543847f5918970a"></a><!-- doxytag: member="XQC_StaticContext_s::get_boundary_space_policy" ref="a65ebb98ea475a2168543847f5918970a" args=")(XQC_StaticContext *context, XQC_BoundarySpaceMode *mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a65ebb98ea475a2168543847f5918970a">XQC_StaticContext_s::get_boundary_space_policy</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40b">XQC_BoundarySpaceMode</a> *mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the boundary space policy that is set in the given static context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>mode</em> </td><td>The XQC_BoundarySpaceMode that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2887fe53d46a362f54df096be6c8bd5d"></a><!-- doxytag: member="XQC_StaticContext_s::get_construction_mode" ref="a2887fe53d46a362f54df096be6c8bd5d" args=")(XQC_StaticContext *context, XQC_ConstructionMode *mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a2887fe53d46a362f54df096be6c8bd5d">XQC_StaticContext_s::get_construction_mode</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52">XQC_ConstructionMode</a> *mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the construction mode that is set in the given static context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>mode</em> </td><td>The XQC_ConstructionMode that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a75b20fc75c17c30df3e236b52cb89cd7"></a><!-- doxytag: member="XQC_StaticContext_s::get_copy_ns_mode" ref="a75b20fc75c17c30df3e236b52cb89cd7" args=")(XQC_StaticContext *context, XQC_PreserveMode *preserve, XQC_InheritMode *inherit)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a75b20fc75c17c30df3e236b52cb89cd7">XQC_StaticContext_s::get_copy_ns_mode</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f">XQC_PreserveMode</a> *preserve, <a class="el" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0">XQC_InheritMode</a> *inherit)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the copy namespace mode as a pair consisting of the preserve and the inherit mode. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>preserve</em> </td><td>The XQC_PreserveMode that is set in the given context. </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>inherit</em> </td><td>The XQC_InheritMode that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae570f4665fd72754a67c80155a87ccc7"></a><!-- doxytag: member="XQC_StaticContext_s::get_default_element_and_type_ns" ref="ae570f4665fd72754a67c80155a87ccc7" args=")(XQC_StaticContext *context, const char **uri)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#ae570f4665fd72754a67c80155a87ccc7">XQC_StaticContext_s::get_default_element_and_type_ns</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char **uri)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>uri</em> </td><td>The uri of the default element and type namespace that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a737a5500f0211e7d8fd9c208b33cffff"></a><!-- doxytag: member="XQC_StaticContext_s::get_default_function_ns" ref="a737a5500f0211e7d8fd9c208b33cffff" args=")(XQC_StaticContext *context, const char **uri)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a737a5500f0211e7d8fd9c208b33cffff">XQC_StaticContext_s::get_default_function_ns</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char **uri)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returnsthe default namespace for functions set in this static context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>uri</em> </td><td>The uri of the default function namespace that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a59f50a061dc6f1dd4787639384059311"></a><!-- doxytag: member="XQC_StaticContext_s::get_default_order_empty_sequences" ref="a59f50a061dc6f1dd4787639384059311" args=")(XQC_StaticContext *context, XQC_OrderEmptyMode *mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a59f50a061dc6f1dd4787639384059311">XQC_StaticContext_s::get_default_order_empty_sequences</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1">XQC_OrderEmptyMode</a> *mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the default order mode for empty sequences that is set in the given static context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>mode</em> </td><td>The XQC_OrderEmptyMode that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a68b2971a0aa150c6e111d3fa2cc6ff69"></a><!-- doxytag: member="XQC_StaticContext_s::get_error_handler" ref="a68b2971a0aa150c6e111d3fa2cc6ff69" args=")(const XQC_StaticContext *context, XQC_ErrorHandler **handler)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a68b2971a0aa150c6e111d3fa2cc6ff69">XQC_StaticContext_s::get_error_handler</a>)(const <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="structXQC__ErrorHandler__s.html">XQC_ErrorHandler</a> **handler)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa2825c7ad6c7fff378ec8ebbcbcaefd1"></a><!-- doxytag: member="XQC_StaticContext_s::get_interface" ref="aa2825c7ad6c7fff378ec8ebbcbcaefd1" args=")(const XQC_StaticContext *context, const char *name)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void*(* <a class="el" href="structXQC__StaticContext__s.html#aa2825c7ad6c7fff378ec8ebbcbcaefd1">XQC_StaticContext_s::get_interface</a>)(const <a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *name)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Called to retrieve an implementation specific interface. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name that identifies the interface to return</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the interface, or 0 if the name is not recognized by this implementation of XQC. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a197e8973fde8e9d272edab94edbc61fa"></a><!-- doxytag: member="XQC_StaticContext_s::get_ns_by_prefix" ref="a197e8973fde8e9d272edab94edbc61fa" args=")(XQC_StaticContext *context, const char *prefix, const char **result_ns)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a197e8973fde8e9d272edab94edbc61fa">XQC_StaticContext_s::get_ns_by_prefix</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *prefix, const char **result_ns)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the namespace uri that belongs to the given prefix. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>prefix</em> </td><td>The prefix of the namespace to add to the given XQC_StaticContext. </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>result_ns</em> </td><td>The namespace uri of the namespace registered with the given prefix, or 0 if none can be found.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4d2fc80156ebad37f6c06f299f1210bf"></a><!-- doxytag: member="XQC_StaticContext_s::get_ordering_mode" ref="a4d2fc80156ebad37f6c06f299f1210bf" args=")(XQC_StaticContext *context, XQC_OrderingMode *mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a4d2fc80156ebad37f6c06f299f1210bf">XQC_StaticContext_s::get_ordering_mode</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642">XQC_OrderingMode</a> *mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the ordering mode that is set in the given static context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>mode</em> </td><td>The XQC_OrderingMode that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a75ffd05f4ce6a3e4c4b9f1dfc26dc82a"></a><!-- doxytag: member="XQC_StaticContext_s::get_xpath_compatib_mode" ref="a75ffd05f4ce6a3e4c4b9f1dfc26dc82a" args=")(XQC_StaticContext *context, XQC_XPath1Mode *mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a75ffd05f4ce6a3e4c4b9f1dfc26dc82a">XQC_StaticContext_s::get_xpath_compatib_mode</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6">XQC_XPath1Mode</a> *mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the XPath 1.0 compatibility that is set in the given static context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>mode</em> </td><td>The XQC_XPath1Mode that is set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a10421f989bb2d7f42b12be2e57a8bfc8"></a><!-- doxytag: member="XQC_StaticContext_s::set_base_uri" ref="a10421f989bb2d7f42b12be2e57a8bfc8" args=")(XQC_StaticContext *context, const char *base_uri)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a10421f989bb2d7f42b12be2e57a8bfc8">XQC_StaticContext_s::set_base_uri</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *base_uri)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the base uri in the given static context. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>base_uri</em> </td><td>The base uri to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af751e75df9357b47cab7bbfedc7bea3c"></a><!-- doxytag: member="XQC_StaticContext_s::set_boundary_space_policy" ref="af751e75df9357b47cab7bbfedc7bea3c" args=")(XQC_StaticContext *context, XQC_BoundarySpaceMode mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#af751e75df9357b47cab7bbfedc7bea3c">XQC_StaticContext_s::set_boundary_space_policy</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40b">XQC_BoundarySpaceMode</a> mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the boundary space policy to either XQC_PRESERVE_SPACE or XQC_STRIP_SPACE. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>The XQC_BoundarySpaceMode to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a50e12d46898d711ace78cfa393079231"></a><!-- doxytag: member="XQC_StaticContext_s::set_construction_mode" ref="a50e12d46898d711ace78cfa393079231" args=")(XQC_StaticContext *context, XQC_ConstructionMode mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a50e12d46898d711ace78cfa393079231">XQC_StaticContext_s::set_construction_mode</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52">XQC_ConstructionMode</a> mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the construction mode to either XQC_PRESERVE_CONS or XQC_StaticContext. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>The XQC_ConstructionMode to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a510e5e9af756c2b61046fcfd8fe7a1af"></a><!-- doxytag: member="XQC_StaticContext_s::set_copy_ns_mode" ref="a510e5e9af756c2b61046fcfd8fe7a1af" args=")(XQC_StaticContext *context, XQC_PreserveMode preserve, XQC_InheritMode inherit)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a510e5e9af756c2b61046fcfd8fe7a1af">XQC_StaticContext_s::set_copy_ns_mode</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f">XQC_PreserveMode</a> preserve, <a class="el" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0">XQC_InheritMode</a> inherit)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the copy namespace mode which consists of the preserve and the inherit mode. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>preserve</em> </td><td>The XQC_PreserveMode to set in the given context. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>inherit</em> </td><td>The XQC_InheritMode to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aef512c6e2097bec0c7d9a424e0008d77"></a><!-- doxytag: member="XQC_StaticContext_s::set_default_element_and_type_ns" ref="aef512c6e2097bec0c7d9a424e0008d77" args=")(XQC_StaticContext *context, const char *uri)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#aef512c6e2097bec0c7d9a424e0008d77">XQC_StaticContext_s::set_default_element_and_type_ns</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *uri)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the value of the default namespace for elements and types. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>uri</em> </td><td>The uri of the default element and type namespace to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8a098be9ed3d79bcecb6be9e2a15f2f3"></a><!-- doxytag: member="XQC_StaticContext_s::set_default_function_ns" ref="a8a098be9ed3d79bcecb6be9e2a15f2f3" args=")(XQC_StaticContext *context, const char *uri)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a8a098be9ed3d79bcecb6be9e2a15f2f3">XQC_StaticContext_s::set_default_function_ns</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, const char *uri)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the default namespace for functions. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>uri</em> </td><td>The uri of the default function namespace to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0843d049e30939d23712e4e237ecf597"></a><!-- doxytag: member="XQC_StaticContext_s::set_default_order_empty_sequences" ref="a0843d049e30939d23712e4e237ecf597" args=")(XQC_StaticContext *context, XQC_OrderEmptyMode mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a0843d049e30939d23712e4e237ecf597">XQC_StaticContext_s::set_default_order_empty_sequences</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1">XQC_OrderEmptyMode</a> mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the default order mode for empty sequences to either XQC_EMTPY_LEAST or XQC_EMPTY_GREATEST. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>The XQC_OrderEmptyMode to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a327c278c2968546780e361bf5397f30e"></a><!-- doxytag: member="XQC_StaticContext_s::set_error_handler" ref="a327c278c2968546780e361bf5397f30e" args=")(XQC_StaticContext *context, XQC_ErrorHandler *handler)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a327c278c2968546780e361bf5397f30e">XQC_StaticContext_s::set_error_handler</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="structXQC__ErrorHandler__s.html">XQC_ErrorHandler</a> *handler)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa5b73efc1810ad280aea351c0c052fd4"></a><!-- doxytag: member="XQC_StaticContext_s::set_ordering_mode" ref="aa5b73efc1810ad280aea351c0c052fd4" args=")(XQC_StaticContext *context, XQC_OrderingMode mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#aa5b73efc1810ad280aea351c0c052fd4">XQC_StaticContext_s::set_ordering_mode</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642">XQC_OrderingMode</a> mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the ordering mode to either XQC_ORDERED or XQC_UNORDERED. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>The XQC_OrderingMode to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8006fb39a40dc3ae76e7c76725d54370"></a><!-- doxytag: member="XQC_StaticContext_s::set_xpath_compatib_mode" ref="a8006fb39a40dc3ae76e7c76725d54370" args=")(XQC_StaticContext *context, XQC_XPath1Mode mode)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a8006fb39a40dc3ae76e7c76725d54370">XQC_StaticContext_s::set_xpath_compatib_mode</a>)(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6">XQC_XPath1Mode</a> mode)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the XPath 1.0 compatibility mode to either XQC_XPATH1_0 or XQC_XPATH2_0. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The XQC_StaticContext that this function pointer is a member of </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>The XQC_XPath1Mode to set in the given context.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Return values:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a></em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li><a class="el" href="xqc_8h_source.html">xqc.h</a></li>
|
|
</ul>
|
|
</div>
|
|
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 May 2015 for XQilla XQC API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
|
|
</body>
|
|
</html>
|