809 lines
64 KiB
HTML
809 lines
64 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.5.5 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</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" -->The <a class="el" href="xqc_8h.html#27c84fd3b0421627f6bec2e19e1bf966">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>
|
|
<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><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#785db756c2de3e89d760af92ad43afb6">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="#785db756c2de3e89d760af92ad43afb6"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a4e8b52a4b99929b5136e54b1675fa6d">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="#a4e8b52a4b99929b5136e54b1675fa6d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#197e8973fde8e9d272edab94edbc61fa">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="#197e8973fde8e9d272edab94edbc61fa"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#ef512c6e2097bec0c7d9a424e0008d77">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="#ef512c6e2097bec0c7d9a424e0008d77"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#e570f4665fd72754a67c80155a87ccc7">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" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#8a098be9ed3d79bcecb6be9e2a15f2f3">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="#8a098be9ed3d79bcecb6be9e2a15f2f3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#737a5500f0211e7d8fd9c208b33cffff">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="#737a5500f0211e7d8fd9c208b33cffff"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#8006fb39a40dc3ae76e7c76725d54370">set_xpath_compatib_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#acc56683a32a53ea4168f0b9b16c54e6">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="#8006fb39a40dc3ae76e7c76725d54370"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#75ffd05f4ce6a3e4c4b9f1dfc26dc82a">get_xpath_compatib_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#acc56683a32a53ea4168f0b9b16c54e6">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="#75ffd05f4ce6a3e4c4b9f1dfc26dc82a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#50e12d46898d711ace78cfa393079231">set_construction_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#f237564a5ce94621e2d2251318b02e52">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="#50e12d46898d711ace78cfa393079231"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#2887fe53d46a362f54df096be6c8bd5d">get_construction_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#f237564a5ce94621e2d2251318b02e52">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="#2887fe53d46a362f54df096be6c8bd5d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a5b73efc1810ad280aea351c0c052fd4">set_ordering_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#180501d6417e8b87f20df61396cf9642">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="#a5b73efc1810ad280aea351c0c052fd4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#4d2fc80156ebad37f6c06f299f1210bf">get_ordering_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#180501d6417e8b87f20df61396cf9642">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="#4d2fc80156ebad37f6c06f299f1210bf"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#0843d049e30939d23712e4e237ecf597">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#4a1574accd76da4396309cf0e5fa38d1">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="#0843d049e30939d23712e4e237ecf597"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#59f50a061dc6f1dd4787639384059311">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#4a1574accd76da4396309cf0e5fa38d1">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="#59f50a061dc6f1dd4787639384059311"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#f751e75df9357b47cab7bbfedc7bea3c">set_boundary_space_policy</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#6a5f9892a69d1f51edd534488184a40b">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="#f751e75df9357b47cab7bbfedc7bea3c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#65ebb98ea475a2168543847f5918970a">get_boundary_space_policy</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#6a5f9892a69d1f51edd534488184a40b">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="#65ebb98ea475a2168543847f5918970a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#510e5e9af756c2b61046fcfd8fe7a1af">set_copy_ns_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#1a645e2e4e29596fe39311fb11d4009f">XQC_PreserveMode</a> preserve, <a class="el" href="xqc_8h.html#1b5f5e5b845d550463923b4bf5f673e0">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="#510e5e9af756c2b61046fcfd8fe7a1af"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#75b20fc75c17c30df3e236b52cb89cd7">get_copy_ns_mode</a> )(<a class="el" href="structXQC__StaticContext__s.html">XQC_StaticContext</a> *context, <a class="el" href="xqc_8h.html#1a645e2e4e29596fe39311fb11d4009f">XQC_PreserveMode</a> *preserve, <a class="el" href="xqc_8h.html#1b5f5e5b845d550463923b4bf5f673e0">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="#75b20fc75c17c30df3e236b52cb89cd7"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#10421f989bb2d7f42b12be2e57a8bfc8">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="#10421f989bb2d7f42b12be2e57a8bfc8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#c74bba04464c97253c51841079ce09e0">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="#c74bba04464c97253c51841079ce09e0"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#327c278c2968546780e361bf5397f30e">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" nowrap align="right" valign="top"><a class="el" href="xqc_8h.html#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#68b2971a0aa150c6e111d3fa2cc6ff69">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" nowrap align="right" valign="top">void *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#a2825c7ad6c7fff378ec8ebbcbcaefd1">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="#a2825c7ad6c7fff378ec8ebbcbcaefd1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structXQC__StaticContext__s.html#2e0112bce0e0f408c17d5c305ad8b84a">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="#2e0112bce0e0f408c17d5c305ad8b84a"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
The <a class="el" href="xqc_8h.html#27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> struct provides a way to specify values for the static context of the query to be prepared.
|
|
<p>
|
|
An <a class="el" href="xqc_8h.html#27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> object is not thread-safe - threads should each use their own instance of a <a class="el" href="xqc_8h.html#27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> object.<p>
|
|
<a class="el" href="xqc_8h.html#27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> objects are created by calling the <a class="el" href="structXQC__Implementation__s.html#d1708e34ad5052e3441c07fc2578c32a" 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#2e0112bce0e0f408c17d5c305ad8b84a" title="Called to free the resources associated with the XQC_StaticContext.">free()</a> function. The <a class="el" href="xqc_8h.html#27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> object should be freed before the <a class="el" href="xqc_8h.html#3d46d69abb6d7b408bb8cd8c02ce66fb">XQC_Implementation</a> object that created it. <hr><h2>Member Data Documentation</h2>
|
|
<a class="anchor" name="785db756c2de3e89d760af92ad43afb6"></a><!-- doxytag: member="XQC_StaticContext_s::create_child_context" ref="785db756c2de3e89d760af92ad43afb6" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#785db756c2de3e89d760af92ad43afb6">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>
|
|
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#27c84fd3b0421627f6bec2e19e1bf966">XQC_StaticContext</a> object returned by calling <a class="el" href="structXQC__StaticContext__s.html#2e0112bce0e0f408c17d5c305ad8b84a" title="Called to free the resources associated with the XQC_StaticContext.">XQC_StaticContext::free()</a>.<p>
|
|
<dl compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="a4e8b52a4b99929b5136e54b1675fa6d"></a><!-- doxytag: member="XQC_StaticContext_s::declare_ns" ref="a4e8b52a4b99929b5136e54b1675fa6d" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a4e8b52a4b99929b5136e54b1675fa6d">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="197e8973fde8e9d272edab94edbc61fa"></a><!-- doxytag: member="XQC_StaticContext_s::get_ns_by_prefix" ref="197e8973fde8e9d272edab94edbc61fa" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#197e8973fde8e9d272edab94edbc61fa">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="ef512c6e2097bec0c7d9a424e0008d77"></a><!-- doxytag: member="XQC_StaticContext_s::set_default_element_and_type_ns" ref="ef512c6e2097bec0c7d9a424e0008d77" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#ef512c6e2097bec0c7d9a424e0008d77">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="e570f4665fd72754a67c80155a87ccc7"></a><!-- doxytag: member="XQC_StaticContext_s::get_default_element_and_type_ns" ref="e570f4665fd72754a67c80155a87ccc7" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#e570f4665fd72754a67c80155a87ccc7">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">
|
|
|
|
<p>
|
|
<dl compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="8a098be9ed3d79bcecb6be9e2a15f2f3"></a><!-- doxytag: member="XQC_StaticContext_s::set_default_function_ns" ref="8a098be9ed3d79bcecb6be9e2a15f2f3" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#8a098be9ed3d79bcecb6be9e2a15f2f3">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="737a5500f0211e7d8fd9c208b33cffff"></a><!-- doxytag: member="XQC_StaticContext_s::get_default_function_ns" ref="737a5500f0211e7d8fd9c208b33cffff" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#737a5500f0211e7d8fd9c208b33cffff">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="8006fb39a40dc3ae76e7c76725d54370"></a><!-- doxytag: member="XQC_StaticContext_s::set_xpath_compatib_mode" ref="8006fb39a40dc3ae76e7c76725d54370" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#8006fb39a40dc3ae76e7c76725d54370">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#acc56683a32a53ea4168f0b9b16c54e6">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="75ffd05f4ce6a3e4c4b9f1dfc26dc82a"></a><!-- doxytag: member="XQC_StaticContext_s::get_xpath_compatib_mode" ref="75ffd05f4ce6a3e4c4b9f1dfc26dc82a" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#75ffd05f4ce6a3e4c4b9f1dfc26dc82a">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#acc56683a32a53ea4168f0b9b16c54e6">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="50e12d46898d711ace78cfa393079231"></a><!-- doxytag: member="XQC_StaticContext_s::set_construction_mode" ref="50e12d46898d711ace78cfa393079231" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#50e12d46898d711ace78cfa393079231">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#f237564a5ce94621e2d2251318b02e52">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="2887fe53d46a362f54df096be6c8bd5d"></a><!-- doxytag: member="XQC_StaticContext_s::get_construction_mode" ref="2887fe53d46a362f54df096be6c8bd5d" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#2887fe53d46a362f54df096be6c8bd5d">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#f237564a5ce94621e2d2251318b02e52">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="a5b73efc1810ad280aea351c0c052fd4"></a><!-- doxytag: member="XQC_StaticContext_s::set_ordering_mode" ref="a5b73efc1810ad280aea351c0c052fd4" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#a5b73efc1810ad280aea351c0c052fd4">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#180501d6417e8b87f20df61396cf9642">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="4d2fc80156ebad37f6c06f299f1210bf"></a><!-- doxytag: member="XQC_StaticContext_s::get_ordering_mode" ref="4d2fc80156ebad37f6c06f299f1210bf" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#4d2fc80156ebad37f6c06f299f1210bf">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#180501d6417e8b87f20df61396cf9642">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="0843d049e30939d23712e4e237ecf597"></a><!-- doxytag: member="XQC_StaticContext_s::set_default_order_empty_sequences" ref="0843d049e30939d23712e4e237ecf597" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#0843d049e30939d23712e4e237ecf597">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#4a1574accd76da4396309cf0e5fa38d1">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="59f50a061dc6f1dd4787639384059311"></a><!-- doxytag: member="XQC_StaticContext_s::get_default_order_empty_sequences" ref="59f50a061dc6f1dd4787639384059311" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#59f50a061dc6f1dd4787639384059311">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#4a1574accd76da4396309cf0e5fa38d1">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="f751e75df9357b47cab7bbfedc7bea3c"></a><!-- doxytag: member="XQC_StaticContext_s::set_boundary_space_policy" ref="f751e75df9357b47cab7bbfedc7bea3c" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#f751e75df9357b47cab7bbfedc7bea3c">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#6a5f9892a69d1f51edd534488184a40b">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="65ebb98ea475a2168543847f5918970a"></a><!-- doxytag: member="XQC_StaticContext_s::get_boundary_space_policy" ref="65ebb98ea475a2168543847f5918970a" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#65ebb98ea475a2168543847f5918970a">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#6a5f9892a69d1f51edd534488184a40b">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="510e5e9af756c2b61046fcfd8fe7a1af"></a><!-- doxytag: member="XQC_StaticContext_s::set_copy_ns_mode" ref="510e5e9af756c2b61046fcfd8fe7a1af" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#510e5e9af756c2b61046fcfd8fe7a1af">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#1a645e2e4e29596fe39311fb11d4009f">XQC_PreserveMode</a> preserve, <a class="el" href="xqc_8h.html#1b5f5e5b845d550463923b4bf5f673e0">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="75b20fc75c17c30df3e236b52cb89cd7"></a><!-- doxytag: member="XQC_StaticContext_s::get_copy_ns_mode" ref="75b20fc75c17c30df3e236b52cb89cd7" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#75b20fc75c17c30df3e236b52cb89cd7">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#1a645e2e4e29596fe39311fb11d4009f">XQC_PreserveMode</a> *preserve, <a class="el" href="xqc_8h.html#1b5f5e5b845d550463923b4bf5f673e0">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="10421f989bb2d7f42b12be2e57a8bfc8"></a><!-- doxytag: member="XQC_StaticContext_s::set_base_uri" ref="10421f989bb2d7f42b12be2e57a8bfc8" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#10421f989bb2d7f42b12be2e57a8bfc8">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="c74bba04464c97253c51841079ce09e0"></a><!-- doxytag: member="XQC_StaticContext_s::get_base_uri" ref="c74bba04464c97253c51841079ce09e0" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#c74bba04464c97253c51841079ce09e0">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 compact><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>
|
|
</dl>
|
|
<dl compact><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#eb1ad206e9c38a7f84749cafe04d7a3f975a11c6557d4d849e48f4034380a375" 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#eb1ad206e9c38a7f84749cafe04d7a3f01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a></em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="327c278c2968546780e361bf5397f30e"></a><!-- doxytag: member="XQC_StaticContext_s::set_error_handler" ref="327c278c2968546780e361bf5397f30e" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#327c278c2968546780e361bf5397f30e">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">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="68b2971a0aa150c6e111d3fa2cc6ff69"></a><!-- doxytag: member="XQC_StaticContext_s::get_error_handler" ref="68b2971a0aa150c6e111d3fa2cc6ff69" 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#eb1ad206e9c38a7f84749cafe04d7a3f">XQC_Error</a>(* <a class="el" href="structXQC__StaticContext__s.html#68b2971a0aa150c6e111d3fa2cc6ff69">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">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="a2825c7ad6c7fff378ec8ebbcbcaefd1"></a><!-- doxytag: member="XQC_StaticContext_s::get_interface" ref="a2825c7ad6c7fff378ec8ebbcbcaefd1" 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#a2825c7ad6c7fff378ec8ebbcbcaefd1">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 compact><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>
|
|
</dl>
|
|
<dl class="return" compact><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><p>
|
|
<a class="anchor" name="2e0112bce0e0f408c17d5c305ad8b84a"></a><!-- doxytag: member="XQC_StaticContext_s::free" ref="2e0112bce0e0f408c17d5c305ad8b84a" 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#2e0112bce0e0f408c17d5c305ad8b84a">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 compact><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>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<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></ul>
|
|
</div>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:54:59 2009 for XQilla XQC API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
|
</body>
|
|
</html>
|