blob: 12ae583d0b2789c78c45fc7ad5108863111650e4 [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>XPathConstructionContextDefault Class Reference</h1>An default implementation of an abtract class which provides support for constructing the internal representation of an <a class="el" href="classXPath.html">XPath</a>.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="XPathConstructionContextDefault_8hpp-source.html">XPathConstructionContextDefault.hpp</a>&gt;</code>
<p>
Inheritance diagram for XPathConstructionContextDefault:<p><center><img src="classXPathConstructionContextDefault__inherit__graph.gif" border="0" usemap="#XPathConstructionContextDefault_inherit_map" alt="Inheritance graph"></center>
<map name="XPathConstructionContextDefault_inherit_map">
<area href="classXPathConstructionContext.html" shape="rect" coords="27,42,194,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XPathConstructionContextDefault:<p><center><img src="classXPathConstructionContextDefault__coll__graph.gif" border="0" usemap="#XPathConstructionContextDefault_coll_map" alt="Collaboration graph"></center>
<map name="XPathConstructionContextDefault_coll_map">
<area href="classXPathConstructionContext.html" shape="rect" coords="7,418,175,394">
<area href="classXalanDOMStringCache.html" shape="rect" coords="199,418,356,394">
<area href="classXalanDOMStringReusableAllocator.html" shape="rect" coords="33,327,255,303">
<area href="classArenaAllocator.html" shape="rect" coords="32,237,216,213">
<area href="classXalanList.html" shape="rect" coords="24,146,219,122">
<area href="structXalanList_1_1Node.html" shape="rect" coords="69,42,173,18">
<area href="classXalanDOMStringPool.html" shape="rect" coords="457,418,598,394">
<area href="classXalanDOMStringHashTable.html" shape="rect" coords="312,327,490,303">
<area href="classXalanMemMgrAutoPtrArray.html" shape="rect" coords="275,237,546,213">
<area href="classXalanMemMgrAutoPtrArray_1_1MemMgrAutoPtrArrayData.html" shape="rect" coords="243,146,581,122">
<area href="classXalanAllocator.html" shape="rect" coords="514,327,706,303">
<area href="classXalanDOMString.html" shape="rect" coords="730,327,848,303">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXPathConstructionContextDefault-members.html">List of all members.</a><h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXPathConstructionContextDefault.html#a0">XPathConstructionContextDefault</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager XALAN_DEFAULT_MEMMGR)
<li>virtual <a class="el" href="classXPathConstructionContextDefault.html#a1">~XPathConstructionContextDefault</a> ()
<li>virtual void <a class="el" href="classXPathConstructionContextDefault.html#a2">reset</a> ()
<dl class="el"><dd><font size=-1><em>Reset the instance.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXPathConstructionContextDefault.html#a3">getPooledString</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theString)
<dl class="el"><dd><font size=-1><em>Get a pooled string given the source string.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXPathConstructionContextDefault.html#a4">getPooledString</a> (const XalanDOMChar *theString, <a class="el" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a> theLength=XalanDOMString::npos)
<dl class="el"><dd><font size=-1><em>Get a pooled string given the source character array.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXPathConstructionContextDefault.html#a5">getCachedString</a> ()
<dl class="el"><dd><font size=-1><em>Get a cached string for temporary use.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="classXPathConstructionContextDefault.html#a6">releaseCachedString</a> (<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theString)
<dl class="el"><dd><font size=-1><em>Return a cached string.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXPathConstructionContextDefault.html#a7">error</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;msg, const <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode, const <a class="el" href="ElemTemplateElement_8hpp.html#a1">LocatorType</a> *locator) const
<li>virtual void <a class="el" href="classXPathConstructionContextDefault.html#a8">warn</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;msg, const <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode, const <a class="el" href="ElemTemplateElement_8hpp.html#a1">LocatorType</a> *locator) const
</ul>
<h2>Static Public Methods</h2>
<ul>
<li>XPathConstructionContextDefault* <a class="el" href="classXPathConstructionContextDefault.html#d0">create</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An default implementation of an abtract class which provides support for constructing the internal representation of an <a class="el" href="classXPath.html">XPath</a>.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XPathConstructionContextDefault::XPathConstructionContextDefault"></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>
XPathConstructionContextDefault::XPathConstructionContextDefault (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager <em>XALAN_DEFAULT_MEMMGR</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="a1" doxytag="XPathConstructionContextDefault::~XPathConstructionContextDefault"></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>
XPathConstructionContextDefault::~XPathConstructionContextDefault (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</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="d0" doxytag="XPathConstructionContextDefault::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>
XPathConstructionContextDefault * XPathConstructionContextDefault::create (
</b></td>
<td valign="bottom"><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="a7" doxytag="XPathConstructionContextDefault::error"></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 XPathConstructionContextDefault::error (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>msg</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanNode.html">XalanNode</a> * <em>sourceNode</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="ElemTemplateElement_8hpp.html#a1">LocatorType</a> * <em>locator</em>&nbsp;) const<code> [virtual]</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="a5" doxytag="XPathConstructionContextDefault::getCachedString"></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>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XPathConstructionContextDefault::getCachedString (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get a cached string for temporary use.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
A reference to the string </dl>
<p>
Reimplemented from <a class="el" href="classXPathConstructionContext.html#a5">XPathConstructionContext</a>. </td>
</tr>
</table>
<a name="a4" doxytag="XPathConstructionContextDefault::getPooledString"></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; XPathConstructionContextDefault::getPooledString (
</b></td>
<td valign="bottom"><b>
const XalanDOMChar * <em>theString</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a> <em>theLength</em> = XalanDOMString::npos&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get a pooled string given the source character array.
<p>
If the string already exists in the pool, no copy will be made. If not, a copy will be made and kept for later use.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theString</em>
&nbsp;</td><td>
The source character array </td></tr>
<tr><td valign=top><em>theLength</em>
&nbsp;</td><td>
The length of the character array </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
a const reference to a pooled string. </dl>
<p>
Reimplemented from <a class="el" href="classXPathConstructionContext.html#a4">XPathConstructionContext</a>. </td>
</tr>
</table>
<a name="a3" doxytag="XPathConstructionContextDefault::getPooledString"></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; XPathConstructionContextDefault::getPooledString (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theString</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get a pooled string given the source string.
<p>
If the string already exists in the pool, no copy will be made. If not, a copy will be made and kept for later use.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theString</em>
&nbsp;</td><td>
The source string </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
a const reference to a pooled string. </dl>
<p>
Reimplemented from <a class="el" href="classXPathConstructionContext.html#a3">XPathConstructionContext</a>. </td>
</tr>
</table>
<a name="a6" doxytag="XPathConstructionContextDefault::releaseCachedString"></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 XPathConstructionContextDefault::releaseCachedString (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theString</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return a cached string.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theString</em>
&nbsp;</td><td>
The string to release.
<p>
</td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true if the string was released successfully. </dl>
<p>
Reimplemented from <a class="el" href="classXPathConstructionContext.html#a6">XPathConstructionContext</a>. </td>
</tr>
</table>
<a name="a2" doxytag="XPathConstructionContextDefault::reset"></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 XPathConstructionContextDefault::reset (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Reset the instance.
<p>
Any existing objects created by the instance will be destroyed.
<p>
Reimplemented from <a class="el" href="classXPathConstructionContext.html#a2">XPathConstructionContext</a>. </td>
</tr>
</table>
<a name="a8" doxytag="XPathConstructionContextDefault::warn"></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 XPathConstructionContextDefault::warn (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>msg</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanNode.html">XalanNode</a> * <em>sourceNode</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="ElemTemplateElement_8hpp.html#a1">LocatorType</a> * <em>locator</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XPathConstructionContextDefault_8hpp-source.html">XPathConstructionContextDefault.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>