blob: 1d43f93300cba9750e7d4079d450f16419dde3d1 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Xalan-C++ API : Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<!-- The head section is copied from Doxygen 1.7.1 generated default output -->
<body>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center"><a href="../index.html">The Xalan C++ XSLT Processor Version 1.11</a></h3>
<hr/>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;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>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<h1>NamespacesHandler Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="NamespacesHandler" -->
<p><code>#include &lt;<a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for NamespacesHandler:</div>
<div class="dyncontent">
<div class="center"><img src="classNamespacesHandler__coll__graph.png" border="0" usemap="#NamespacesHandler_coll__map" alt="Collaboration graph"/></div>
<map name="NamespacesHandler_coll__map" id="NamespacesHandler_coll__map">
<area shape="rect" id="node2" href="classXalanVector.html" title="XalanVector\&lt; Namespace \&gt;" alt="" coords="1159,17,1364,47"/><area shape="rect" id="node4" href="classXalanMap.html" title="XalanMap\&lt; const XalanDOMString *, const XalanDOMString * \&gt;" alt="" coords="1044,71,1479,100"/><area shape="rect" id="node6" href="classXalanVector.html" title="XalanVector\&lt; BucketType, ConstructWithMemoryManagerTraits\&lt; BucketType \&gt; \&gt;" alt="" coords="359,5,903,35"/><area shape="rect" id="node8" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_01_4.html" title="XalanMapKeyTraits\&lt; const XalanDOMString * \&gt;" alt="" coords="467,71,795,100"/><area shape="rect" id="node10" href="classXalanList.html" title="XalanList\&lt; Entry \&gt;" alt="" coords="559,136,703,165"/><area shape="rect" id="node12" href="structXalanList_1_1Node.html" title="XalanList\&lt; Type \&gt;::Node" alt="" coords="7,136,188,165"/><area shape="rect" id="node15" href="classXalanVector.html" title="XalanVector\&lt; const XalanDOMString * \&gt;" alt="" coords="1119,124,1404,153"/><area shape="rect" id="node17" href="classXalanVector.html" title="XalanVector\&lt; NamespaceExtended \&gt;" alt="" coords="1128,177,1395,207"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classNamespacesHandler-members.html">List of all members.</a></p>
<h2><a name="nested-classes"></a>
Classes</h2>
<ul>
<li>class <a class="el" href="classNamespacesHandler_1_1Namespace.html">Namespace</a>
<li>class <a class="el" href="classNamespacesHandler_1_1NamespaceExtended.html">NamespaceExtended</a>
<li>class <a class="el" href="classNamespacesHandler_1_1PrefixChecker.html">PrefixChecker</a>
</ul>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef <br class="typebreak"/>
<a class="el" href="classXalanDeque.html">XalanQName::NamespaceVectorType</a> <a class="el" href="classNamespacesHandler.html#aa185aa84897d0009038f70071357c781">NamespaceVectorType</a>
<li>typedef <br class="typebreak"/>
<a class="el" href="classXalanDeque.html">XalanQName::NamespacesStackType</a> <a class="el" href="classNamespacesHandler.html#a221e4e928eb3039f7d114ecde7ecde79">NamespacesStackType</a>
<li>typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt; <a class="el" href="classNamespacesHandler_1_1Namespace.html">Namespace</a> &gt; <a class="el" href="classNamespacesHandler.html#a983efee55ce14b78aaacfb6dd41c62f7">NamespacesVectorType</a>
<li>typedef <a class="el" href="classXalanVector.html">XalanVector</a><br class="typebreak"/>
&lt; <a class="el" href="classNamespacesHandler_1_1NamespaceExtended.html">NamespaceExtended</a> &gt; <a class="el" href="classNamespacesHandler.html#a2b455a0906d83239ca2eb959c3f60fec">NamespaceExtendedVectorType</a>
<li>typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt; const <br class="typebreak"/>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> * &gt; <a class="el" href="classNamespacesHandler.html#ac3a07412b1e2ecdc3c9c40e071dcdbaf">XalanDOMStringPointerVectorType</a>
<li>typedef <a class="el" href="classXalanMap.html">XalanMap</a>&lt; const <br class="typebreak"/>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> *, const <br class="typebreak"/>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> * &gt; <a class="el" href="classNamespacesHandler.html#afd27528324b8de0b913db6fdbe6ffa68">NamespaceAliasesMapType</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classNamespacesHandler.html#a959a5a2a7ed45ccd185e8862404c66c1">NamespacesHandler</a> (MemoryManager &amp;theManager)
<dl class="el"><dd class="mdescRight">Create a default, empty instance. <a href="#a959a5a2a7ed45ccd185e8862404c66c1"></a><br/></dl><li><a class="el" href="classNamespacesHandler.html#a152e9377c5999f2aaaf50bc2e2c31a10">NamespacesHandler</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;theConstructionContext, const <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp;stylesheetNamespacesHandler, const <a class="el" href="classXalanDeque.html">NamespacesStackType</a> &amp;theCurrentNamespaces, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theXSLTNamespaceURI)
<dl class="el"><dd class="mdescRight">Create an instance namespace handler using the current namespaces in effect. <a href="#a152e9377c5999f2aaaf50bc2e2c31a10"></a><br/></dl><li><a class="el" href="classNamespacesHandler.html#a3b82830c9b336aedfad1fc27e498c626">~NamespacesHandler</a> ()
<li>void <a class="el" href="classNamespacesHandler.html#aa35134000a60676b3ea965465ddeed99">processExcludeResultPrefixes</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;theConstructionContext, const XalanDOMChar *theValue, const <a class="el" href="classXalanDeque.html">NamespacesStackType</a> &amp;theCurrentNamespaces)
<dl class="el"><dd class="mdescRight">Process an exclude-result-prefixes attribute. <a href="#aa35134000a60676b3ea965465ddeed99"></a><br/></dl><li>void <a class="el" href="classNamespacesHandler.html#ac49c77b05a2532f11d693ae8d309a348">processExtensionElementPrefixes</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;theConstructionContext, const XalanDOMChar *theValue, const <a class="el" href="classXalanDeque.html">NamespacesStackType</a> &amp;theCurrentNamespaces)
<dl class="el"><dd class="mdescRight">Process an extension-element-prefixes attribute. <a href="#ac49c77b05a2532f11d693ae8d309a348"></a><br/></dl><li>void <a class="el" href="classNamespacesHandler.html#ac6b46184446e8141e8a3308b6dacb070">postConstruction</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;theConstructionContext, bool fProcessNamespaceAliases=true, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theElementName=<a class="el" href="classXalanDOMString.html">XalanDOMString</a>(XalanMemMgrs::getDummyMemMgr()), const <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> *parentNamespacesHandler=0, const <a class="el" href="classNamespacesHandler_1_1PrefixChecker.html">PrefixChecker</a> *prefixChecker=0)
<dl class="el"><dd class="mdescRight">Notify the instance that the stylesheet is fully constructed. <a href="#ac6b46184446e8141e8a3308b6dacb070"></a><br/></dl><li><a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp; <a class="el" href="classNamespacesHandler.html#abf714187257e9da7db7ebb7f405fa852">operator=</a> (const <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp;theRHS)
<li>bool <a class="el" href="classNamespacesHandler.html#a22796befc6c38783db5b11b434c206d2">shouldExcludeResultNamespaceNode</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theXSLTNamespaceURI, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theURI) const
<dl class="el"><dd class="mdescRight">Determine of a given namespace should be excluded. <a href="#a22796befc6c38783db5b11b434c206d2"></a><br/></dl><li>void <a class="el" href="classNamespacesHandler.html#a05b28c676254f4ac856f659b20f8cc8d">addExtensionNamespaceURI</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;theConstructionContext, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theURI)
<dl class="el"><dd class="mdescRight">Add a URI as an extension namespace prefixes. <a href="#a05b28c676254f4ac856f659b20f8cc8d"></a><br/></dl><li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> * <a class="el" href="classNamespacesHandler.html#af22725ad0653f4982061f1ccebe1bfda">getNamespace</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;thePrefix) const
<dl class="el"><dd class="mdescRight">Get the namespace URI for the given prefix. <a href="#af22725ad0653f4982061f1ccebe1bfda"></a><br/></dl><li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> * <a class="el" href="classNamespacesHandler.html#a00b1e15158b12b2ac90f2b7a0d365bc2">getNamespaceAlias</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theStylesheetNamespace) const
<dl class="el"><dd class="mdescRight">Get the namespace alias URI for the given namespace. <a href="#a00b1e15158b12b2ac90f2b7a0d365bc2"></a><br/></dl><li>void <a class="el" href="classNamespacesHandler.html#a9247662f82a3e251f16ad98d8861e2cf">setNamespaceAlias</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;theConstructionContext, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theStylesheetNamespace, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theResultNamespace)
<dl class="el"><dd class="mdescRight">Set the namespace alias URI for the given namespace. <a href="#a9247662f82a3e251f16ad98d8861e2cf"></a><br/></dl><li>void <a class="el" href="classNamespacesHandler.html#a4b7586232edd1b39bbc502058546b44e">copyNamespaceAliases</a> (const <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp;parentNamespacesHandler)
<dl class="el"><dd class="mdescRight">Copy the aliases from the given <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a>. <a href="#a4b7586232edd1b39bbc502058546b44e"></a><br/></dl><li>void <a class="el" href="classNamespacesHandler.html#a9c957eb8017b8854ad4ffeb5b81c9f32">outputResultNamespaces</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;theExecutionContext, bool supressDefault=false) const
<dl class="el"><dd class="mdescRight">Output the result tree namespace declarations. <a href="#a9c957eb8017b8854ad4ffeb5b81c9f32"></a><br/></dl><li>void <a class="el" href="classNamespacesHandler.html#a2fe5dfab9e1737b4875e824e00d8af23">clear</a> ()
<dl class="el"><dd class="mdescRight">Clear out the handler. <a href="#a2fe5dfab9e1737b4875e824e00d8af23"></a><br/></dl><li>void <a class="el" href="classNamespacesHandler.html#a6a276cae3d742094aebd1a7e123f2b83">swap</a> (<a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp;theOther)
<dl class="el"><dd class="mdescRight">Swap the contents of this instance with another. <a href="#a6a276cae3d742094aebd1a7e123f2b83"></a><br/></dl><li><a class="el" href="classXalanVector.html#ad6fb8b1165e71ac328cf6408c529548f">NamespaceExtendedVectorType::size_type</a> <a class="el" href="classNamespacesHandler.html#a56ff634e40f5ee0138979487f71fd391">getNamespaceDeclarationsCount</a> () const
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="NamespacesHandler_8hpp_source.html#l00052">52</a> of file <a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="afd27528324b8de0b913db6fdbe6ffa68"></a><!-- doxytag: member="NamespacesHandler::NamespaceAliasesMapType" ref="afd27528324b8de0b913db6fdbe6ffa68" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanMap.html">XalanMap</a>&lt;const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>*, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>*&gt; <a class="el" href="classXalanMap.html">NamespacesHandler::NamespaceAliasesMapType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="NamespacesHandler_8hpp_source.html#l00202">202</a> of file <a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a2b455a0906d83239ca2eb959c3f60fec"></a><!-- doxytag: member="NamespacesHandler::NamespaceExtendedVectorType" ref="a2b455a0906d83239ca2eb959c3f60fec" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt;<a class="el" href="classNamespacesHandler_1_1NamespaceExtended.html">NamespaceExtended</a>&gt; <a class="el" href="classXalanVector.html">NamespacesHandler::NamespaceExtendedVectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="NamespacesHandler_8hpp_source.html#l00198">198</a> of file <a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a221e4e928eb3039f7d114ecde7ecde79"></a><!-- doxytag: member="NamespacesHandler::NamespacesStackType" ref="a221e4e928eb3039f7d114ecde7ecde79" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanDeque.html">XalanQName::NamespacesStackType</a> <a class="el" href="classXalanDeque.html">NamespacesHandler::NamespacesStackType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="NamespacesHandler_8hpp_source.html#l00195">195</a> of file <a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a983efee55ce14b78aaacfb6dd41c62f7"></a><!-- doxytag: member="NamespacesHandler::NamespacesVectorType" ref="a983efee55ce14b78aaacfb6dd41c62f7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt;<a class="el" href="classNamespacesHandler_1_1Namespace.html">Namespace</a>&gt; <a class="el" href="classXalanVector.html">NamespacesHandler::NamespacesVectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="NamespacesHandler_8hpp_source.html#l00197">197</a> of file <a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="aa185aa84897d0009038f70071357c781"></a><!-- doxytag: member="NamespacesHandler::NamespaceVectorType" ref="aa185aa84897d0009038f70071357c781" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanDeque.html">XalanQName::NamespaceVectorType</a> <a class="el" href="classXalanDeque.html">NamespacesHandler::NamespaceVectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="NamespacesHandler_8hpp_source.html#l00194">194</a> of file <a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ac3a07412b1e2ecdc3c9c40e071dcdbaf"></a><!-- doxytag: member="NamespacesHandler::XalanDOMStringPointerVectorType" ref="ac3a07412b1e2ecdc3c9c40e071dcdbaf" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt;const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>*&gt; <a class="el" href="classXalanVector.html">NamespacesHandler::XalanDOMStringPointerVectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="NamespacesHandler_8hpp_source.html#l00199">199</a> of file <a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a959a5a2a7ed45ccd185e8862404c66c1"></a><!-- doxytag: member="NamespacesHandler::NamespacesHandler" ref="a959a5a2a7ed45ccd185e8862404c66c1" args="(MemoryManager &amp;theManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">NamespacesHandler::NamespacesHandler </td>
<td>(</td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theManager</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [explicit]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a default, empty instance. </p>
</div>
</div>
<a class="anchor" id="a152e9377c5999f2aaaf50bc2e2c31a10"></a><!-- doxytag: member="NamespacesHandler::NamespacesHandler" ref="a152e9377c5999f2aaaf50bc2e2c31a10" args="(StylesheetConstructionContext &amp;theConstructionContext, const NamespacesHandler &amp;stylesheetNamespacesHandler, const NamespacesStackType &amp;theCurrentNamespaces, const XalanDOMString &amp;theXSLTNamespaceURI)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">NamespacesHandler::NamespacesHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theConstructionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp;&nbsp;</td>
<td class="paramname"> <em>stylesheetNamespacesHandler</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDeque.html">NamespacesStackType</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theCurrentNamespaces</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theXSLTNamespaceURI</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create an instance namespace handler using the current namespaces in effect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theConstructionContext</em>&nbsp;</td><td>The current construction context. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>stylesheetNamespacesHandler</em>&nbsp;</td><td>The stylesheet's handler. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theCurrentNamespaces</em>&nbsp;</td><td>The stack of active namespace declarations. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theXSLTNamespaceURI</em>&nbsp;</td><td>The namespace URI for XSLT. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3b82830c9b336aedfad1fc27e498c626"></a><!-- doxytag: member="NamespacesHandler::~NamespacesHandler" ref="a3b82830c9b336aedfad1fc27e498c626" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">NamespacesHandler::~NamespacesHandler </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a05b28c676254f4ac856f659b20f8cc8d"></a><!-- doxytag: member="NamespacesHandler::addExtensionNamespaceURI" ref="a05b28c676254f4ac856f659b20f8cc8d" args="(StylesheetConstructionContext &amp;theConstructionContext, const XalanDOMString &amp;theURI)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::addExtensionNamespaceURI </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theConstructionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theURI</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add a URI as an extension namespace prefixes. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theConstructionContext</em>&nbsp;</td><td>The current construction context. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theURI</em>&nbsp;</td><td>The namespace URI. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a2fe5dfab9e1737b4875e824e00d8af23"></a><!-- doxytag: member="NamespacesHandler::clear" ref="a2fe5dfab9e1737b4875e824e00d8af23" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::clear </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Clear out the handler. </p>
</div>
</div>
<a class="anchor" id="a4b7586232edd1b39bbc502058546b44e"></a><!-- doxytag: member="NamespacesHandler::copyNamespaceAliases" ref="a4b7586232edd1b39bbc502058546b44e" args="(const NamespacesHandler &amp;parentNamespacesHandler)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::copyNamespaceAliases </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp;&nbsp;</td>
<td class="paramname"> <em>parentNamespacesHandler</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Copy the aliases from the given <a class="el" href="classNamespacesHandler.html">NamespacesHandler</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>parentNamespacesHandler</em>&nbsp;</td><td>The parent handler. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af22725ad0653f4982061f1ccebe1bfda"></a><!-- doxytag: member="NamespacesHandler::getNamespace" ref="af22725ad0653f4982061f1ccebe1bfda" args="(const XalanDOMString &amp;thePrefix) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>* NamespacesHandler::getNamespace </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>thePrefix</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the namespace URI for 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>thePrefix</em>&nbsp;</td><td>The namespace prefix. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The namespace URI </dd></dl>
</div>
</div>
<a class="anchor" id="a00b1e15158b12b2ac90f2b7a0d365bc2"></a><!-- doxytag: member="NamespacesHandler::getNamespaceAlias" ref="a00b1e15158b12b2ac90f2b7a0d365bc2" args="(const XalanDOMString &amp;theStylesheetNamespace) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>* NamespacesHandler::getNamespaceAlias </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theStylesheetNamespace</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the namespace alias URI for the given namespace. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theStylesheetNamespace</em>&nbsp;</td><td>The namespace as declared in the stylesheet. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The namespace alias URI </dd></dl>
</div>
</div>
<a class="anchor" id="a56ff634e40f5ee0138979487f71fd391"></a><!-- doxytag: member="NamespacesHandler::getNamespaceDeclarationsCount" ref="a56ff634e40f5ee0138979487f71fd391" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanVector.html#ad6fb8b1165e71ac328cf6408c529548f">NamespaceExtendedVectorType::size_type</a> NamespacesHandler::getNamespaceDeclarationsCount </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="NamespacesHandler_8hpp_source.html#l00362">362</a> of file <a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="abf714187257e9da7db7ebb7f405fa852"></a><!-- doxytag: member="NamespacesHandler::operator=" ref="abf714187257e9da7db7ebb7f405fa852" args="(const NamespacesHandler &amp;theRHS)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classNamespacesHandler.html">NamespacesHandler</a>&amp; NamespacesHandler::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theRHS</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a9c957eb8017b8854ad4ffeb5b81c9f32"></a><!-- doxytag: member="NamespacesHandler::outputResultNamespaces" ref="a9c957eb8017b8854ad4ffeb5b81c9f32" args="(StylesheetExecutionContext &amp;theExecutionContext, bool supressDefault=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::outputResultNamespaces </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theExecutionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>supressDefault</em> = <code>false</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Output the result tree namespace declarations. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theExecutionContext</em>&nbsp;</td><td>The current execution context. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>supressDefault</em>&nbsp;</td><td>If true, any default namespace declaration will not be output. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac6b46184446e8141e8a3308b6dacb070"></a><!-- doxytag: member="NamespacesHandler::postConstruction" ref="ac6b46184446e8141e8a3308b6dacb070" args="(StylesheetConstructionContext &amp;theConstructionContext, bool fProcessNamespaceAliases=true, const XalanDOMString &amp;theElementName=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), const NamespacesHandler *parentNamespacesHandler=0, const PrefixChecker *prefixChecker=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::postConstruction </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theConstructionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>fProcessNamespaceAliases</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theElementName</em> = <code><a class="el" href="classXalanDOMString.html">XalanDOMString</a>(XalanMemMgrs::getDummyMemMgr())</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> *&nbsp;</td>
<td class="paramname"> <em>parentNamespacesHandler</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classNamespacesHandler_1_1PrefixChecker.html">PrefixChecker</a> *&nbsp;</td>
<td class="paramname"> <em>prefixChecker</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Notify the instance that the stylesheet is fully constructed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theConstructionContext</em>&nbsp;</td><td>The current construction context. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>fProcessNamespaceAliases</em>&nbsp;</td><td>If true, process any namespace aliases </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theElementName</em>&nbsp;</td><td>The name of the owning element. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>parentNamespacesHandler</em>&nbsp;</td><td>The parent handler, if any. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixChecker</em>&nbsp;</td><td>A pointer to a <a class="el" href="classNamespacesHandler_1_1PrefixChecker.html">PrefixChecker</a> instance to use, if any. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa35134000a60676b3ea965465ddeed99"></a><!-- doxytag: member="NamespacesHandler::processExcludeResultPrefixes" ref="aa35134000a60676b3ea965465ddeed99" args="(StylesheetConstructionContext &amp;theConstructionContext, const XalanDOMChar *theValue, const NamespacesStackType &amp;theCurrentNamespaces)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::processExcludeResultPrefixes </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theConstructionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>theValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDeque.html">NamespacesStackType</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theCurrentNamespaces</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Process an exclude-result-prefixes attribute. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theConstructionContext</em>&nbsp;</td><td>The current construction context. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theValue</em>&nbsp;</td><td>The attribute's value. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theCurrentNamespaces</em>&nbsp;</td><td>The stack of active namespace declarations. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac49c77b05a2532f11d693ae8d309a348"></a><!-- doxytag: member="NamespacesHandler::processExtensionElementPrefixes" ref="ac49c77b05a2532f11d693ae8d309a348" args="(StylesheetConstructionContext &amp;theConstructionContext, const XalanDOMChar *theValue, const NamespacesStackType &amp;theCurrentNamespaces)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::processExtensionElementPrefixes </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theConstructionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>theValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDeque.html">NamespacesStackType</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theCurrentNamespaces</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Process an extension-element-prefixes attribute. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theConstructionContext</em>&nbsp;</td><td>The current construction context. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theValue</em>&nbsp;</td><td>The attribute's value. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theCurrentNamespaces</em>&nbsp;</td><td>The stack of active namespace declarations. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9247662f82a3e251f16ad98d8861e2cf"></a><!-- doxytag: member="NamespacesHandler::setNamespaceAlias" ref="a9247662f82a3e251f16ad98d8861e2cf" args="(StylesheetConstructionContext &amp;theConstructionContext, const XalanDOMString &amp;theStylesheetNamespace, const XalanDOMString &amp;theResultNamespace)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::setNamespaceAlias </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theConstructionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theStylesheetNamespace</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theResultNamespace</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set the namespace alias URI for the given namespace. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theConstructionContext</em>&nbsp;</td><td>The current construction context. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theStylesheetNamespace</em>&nbsp;</td><td>The namespace as declared in the stylesheet. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theResultNamespace</em>&nbsp;</td><td>The namespace as it should appear in the result tree. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a22796befc6c38783db5b11b434c206d2"></a><!-- doxytag: member="NamespacesHandler::shouldExcludeResultNamespaceNode" ref="a22796befc6c38783db5b11b434c206d2" args="(const XalanDOMString &amp;theXSLTNamespaceURI, const XalanDOMString &amp;theURI) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool NamespacesHandler::shouldExcludeResultNamespaceNode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theXSLTNamespaceURI</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theURI</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determine of a given namespace should be excluded. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theXSLTNamespaceURI</em>&nbsp;</td><td>The namespace URI for XSLT. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theURI</em>&nbsp;</td><td>The namespace URI. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true of the namespace should be excluded, false if not. </dd></dl>
</div>
</div>
<a class="anchor" id="a6a276cae3d742094aebd1a7e123f2b83"></a><!-- doxytag: member="NamespacesHandler::swap" ref="a6a276cae3d742094aebd1a7e123f2b83" args="(NamespacesHandler &amp;theOther)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NamespacesHandler::swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classNamespacesHandler.html">NamespacesHandler</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theOther</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Swap the contents of this instance with another. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theOther</em>&nbsp;</td><td>The other instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="NamespacesHandler_8hpp_source.html">NamespacesHandler.hpp</a></li>
</ul>
</div>
<p align="center"><a href="graph_legend.html">Interpreting class diagrams</a></p>
<p><font color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><a href="http://www.doxygen.org/">Doxygen</a> and
<a href="http://www.graphviz.org/">GraphViz</a> are
used to generate this API documentation from the Xalan-C header files.</i></font></p>
<table border="0" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td width="80%" valign="top">
<p align="center"><b>Xalan-C++ XSLT Processor Version 1.11</b><br/>
Copyright &copy; 1999-2012 The Apache Software Foundation.<br/>
All Rights Reserved.</p>
</td>
</tr>
<tr>
<td width="100%">
<p align="center"><img src="asf_logo_wide.gif" width="268" height="25" align="bottom" border="0" alt="Apache Logo">
</td>
</tr>
</table>
</body>
</html>