blob: 9d9c5710b924fa5c269854ffdb0b2efc57852472 [file] [log] [blame]
<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
</BODY>
<!-- Generated by Doxygen 1.2.8.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>NameSpace Class Reference</h1>A representation of a namespace.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="NameSpace_8hpp-source.html">NameSpace.hpp</a>&gt;</code>
<p>
Collaboration diagram for NameSpace:<p><center><img src="classNameSpace__coll__graph.gif" border="0" usemap="#NameSpace_coll_map" alt="Collaboration graph"></center>
<map name="NameSpace_coll_map">
<area href="classXalanDOMString.html" shape="rect" coords="6,43,124,19">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classNameSpace-members.html">List of all members.</a><h2>Public Methods</h2>
<ul>
<li><a class="el" href="classNameSpace.html#a0">NameSpace</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<li><a class="el" href="classNameSpace.html#a1">NameSpace</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;prefix, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;uri, <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<dl class="el"><dd><font size=-1><em>Construct a namespace for placement on the result tree namespace stack.</em> <a href="#a1">More...</a><em><br><br></em></font></dl><li><a class="el" href="classNameSpace.html#a2">NameSpace</a> (const NameSpace &amp;other, <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<li><a class="el" href="classNameSpace.html#a3">~NameSpace</a> ()
<li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classNameSpace.html#a4">getPrefix</a> () const
<dl class="el"><dd><font size=-1><em>Retrieve the prefix for namespace.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classNameSpace.html#a5">setPrefix</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;prefix)
<dl class="el"><dd><font size=-1><em>Set the prefix for namespace.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classNameSpace.html#a6">getURI</a> () const
<dl class="el"><dd><font size=-1><em>Retrieve the URI for namespace.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classNameSpace.html#a7">setURI</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;uri)
<dl class="el"><dd><font size=-1><em>Set the URI for namespace.</em> <a href="#a7">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classNameSpace.html#a8">setURI</a> (const XalanDOMChar *uri)
<dl class="el"><dd><font size=-1><em>Set the URI for namespace.</em> <a href="#a8">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classNameSpace.html#a9">setURI</a> (const XalanDOMChar *uri, <a class="el" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a> len)
<dl class="el"><dd><font size=-1><em>Set the URI for namespace.</em> <a href="#a9">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classNameSpace.html#a10">empty</a> () const
<li>void <a class="el" href="classNameSpace.html#a11">clear</a> ()
<li>bool <a class="el" href="classNameSpace.html#a12">operator==</a> (const NameSpace &amp;theRHS) const
<dl class="el"><dd><font size=-1><em>Equality operator.</em> <a href="#a12">More...</a><em><br><br></em></font></dl></ul>
<h2>Static Public Methods</h2>
<ul>
<li>NameSpace* <a class="el" href="classNameSpace.html#d0">create</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;prefix, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;uri, <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A representation of a namespace.
<p>
One of these will be pushed on the namespace stack for each element.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="NameSpace::NameSpace"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
NameSpace::NameSpace (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>&nbsp;)<code> [explicit]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a1" doxytag="NameSpace::NameSpace"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
NameSpace::NameSpace (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>prefix</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>uri</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Construct a namespace for placement on the result tree namespace stack.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>prefix</em>
&nbsp;</td><td>
namespace prefix </td></tr>
<tr><td valign=top><em>uri</em>
&nbsp;</td><td>
URI of namespace </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a2" doxytag="NameSpace::NameSpace"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
NameSpace::NameSpace (
</b></td>
<td valign="bottom"><b>
const NameSpace &amp; <em>other</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a3" doxytag="NameSpace::~NameSpace"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
NameSpace::~NameSpace (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a11" doxytag="NameSpace::clear"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void NameSpace::clear (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="d0" doxytag="NameSpace::create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
NameSpace * NameSpace::create (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>prefix</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>uri</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a10" doxytag="NameSpace::empty"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
bool NameSpace::empty (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a4" doxytag="NameSpace::getPrefix"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; NameSpace::getPrefix (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Retrieve the prefix for namespace.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
prefix string </dl> </td>
</tr>
</table>
<a name="a6" doxytag="NameSpace::getURI"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; NameSpace::getURI (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Retrieve the URI for namespace.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
URI string </dl> </td>
</tr>
</table>
<a name="a12" doxytag="NameSpace::operator=="></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
bool NameSpace::operator== (
</b></td>
<td valign="bottom"><b>
const NameSpace &amp; <em>theRHS</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Equality operator.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theRHS</em>
&nbsp;</td><td>
namespace to compare </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a5" doxytag="NameSpace::setPrefix"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void NameSpace::setPrefix (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>prefix</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the prefix for namespace.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>prefix</em>
&nbsp;</td><td>
The new prefix value </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a9" doxytag="NameSpace::setURI"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void NameSpace::setURI (
</b></td>
<td valign="bottom"><b>
const XalanDOMChar * <em>uri</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a> <em>len</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the URI for namespace.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>uri</em>
&nbsp;</td><td>
The new uri value </td></tr>
<tr><td valign=top><em>len</em>
&nbsp;</td><td>
The length of the uri </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a8" doxytag="NameSpace::setURI"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void NameSpace::setURI (
</b></td>
<td valign="bottom"><b>
const XalanDOMChar * <em>uri</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the URI for namespace.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>uri</em>
&nbsp;</td><td>
The new uri value </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a7" doxytag="NameSpace::setURI"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void NameSpace::setURI (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>uri</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the URI for namespace.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>uri</em>
&nbsp;</td><td>
The new uri value </td></tr>
</table>
</dl> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="NameSpace_8hpp-source.html">NameSpace.hpp</a></ul>
<p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
<p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
<A href="http://www.research.att.com/sw/tools/graphviz/">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="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
<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.10</B><BR>
Copyright &copy; 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
</TD>
</TR>
<TR>
<TD WIDTH="100%">
<P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
</TD>
</TR>
</TABLE>