blob: be532bfb16dd5b9fc3ed61b0b5df494b05216407 [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>ElemNumber Class Reference</h1><code>#include &lt;<a class="el" href="ElemNumber_8hpp-source.html">ElemNumber.hpp</a>&gt;</code>
<p>
Inheritance diagram for ElemNumber:<p><center><img src="classElemNumber__inherit__graph.gif" border="0" usemap="#ElemNumber_inherit_map" alt="Inheritance graph"></center>
<map name="ElemNumber_inherit_map">
<area href="classElemTemplateElement.html" shape="rect" coords="6,117,156,93">
<area href="classPrefixResolver.html" shape="rect" coords="30,42,132,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ElemNumber:<p><center><img src="classElemNumber__coll__graph.gif" border="0" usemap="#ElemNumber_coll_map" alt="Collaboration graph"></center>
<map name="ElemNumber_coll_map">
<area href="classElemTemplateElement.html" shape="rect" coords="268,205,417,181">
<area href="classXalanDOMString.html" shape="rect" coords="18,229,136,205">
<area href="classAVT.html" shape="rect" coords="320,253,365,229">
<area href="classXPath.html" shape="rect" coords="316,330,369,306">
<area href="structDecimalToRoman.html" shape="rect" coords="284,393,401,369">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classElemNumber-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef CountersTable::CountType <a class="el" href="classElemNumber.html#s0">CountType</a>
<li>typedef XalanVector&lt;<a class="el" href="classElemNumber.html#s0">CountType</a>&gt; <a class="el" href="classElemNumber.html#s1">CountTypeArrayType</a>
<li>enum <a class="el" href="classElemNumber.html#s5">eLevel</a> { <a class="el" href="classElemNumber.html#s5s2">eSingle</a>,
<a class="el" href="classElemNumber.html#s5s3">eMultiple</a>,
<a class="el" href="classElemNumber.html#s5s4">eAny</a>
}
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classElemNumber.html#a0">ElemNumber</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &amp;stylesheetTree, const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp;atts, int lineNumber, int columnNumber, unsigned long id)
<dl class="el"><dd><font size=-1><em>Construct an object corresponding to an "xsl:number" element.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classElemNumber.html#a1">~ElemNumber</a> ()
<li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classElemNumber.html#a2">getElementName</a> () const
<dl class="el"><dd><font size=-1><em>Get a string for the name of the element.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a>* <a class="el" href="classElemNumber.html#a3">startElement</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd><font size=-1><em>Completes "pre-processing" before any sub-elements are invoked (i.e.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>unsigned long <a class="el" href="classElemNumber.html#a4">getID</a> () const
<li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classElemNumber.html#a5">getPreviousNode</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *pos) const
<dl class="el"><dd><font size=-1><em>Get the previous node to be counted.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classElemNumber.html#a6">getTargetNode</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode) const
<dl class="el"><dd><font size=-1><em>Get the target node that will be counted..</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXPath.html">XPath</a>* <a class="el" href="classElemNumber.html#a7">getXPath</a> (unsigned int index=0) const
<dl class="el"><dd><font size=-1><em>Get <a class="el" href="classXPath.html">XPath</a> pattern/expression of one of the element atribute.</em> <a href="#a7">More...</a><em><br><br></em></font></dl></ul>
<h2>Static Public Methods</h2>
<ul>
<li>void <a class="el" href="classElemNumber.html#d0">initialize</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<dl class="el"><dd><font size=-1><em>Perform static initialization.</em> <a href="#d0">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classElemNumber.html#d1">terminate</a> ()
<dl class="el"><dd><font size=-1><em>Perform static shut down.</em> <a href="#d1">More...</a><em><br><br></em></font></dl><li>ElemNumber* <a class="el" href="classElemNumber.html#d2">create</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager, <a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &amp;stylesheetTree, const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp;atts, int lineNumber, int columnNumber, unsigned long id)
</ul>
<h2>Protected Methods</h2>
<ul>
<li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classElemNumber.html#b0">findAncestor</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, const <a class="el" href="classXPath.html">XPath</a> *fromMatchPattern, const <a class="el" href="classXPath.html">XPath</a> *countMatchPattern, <a class="el" href="classXalanNode.html">XalanNode</a> *context) const
<dl class="el"><dd><font size=-1><em>Given a 'from' pattern (ala xsl:number), a match pattern and a context, find the first ancestor that matches the pattern (including the context handed in).</em> <a href="#b0">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classElemNumber.html#b1">findPrecedingOrAncestorOrSelf</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, const <a class="el" href="classXPath.html">XPath</a> *fromMatchPattern, const <a class="el" href="classXPath.html">XPath</a> *countMatchPattern, <a class="el" href="classXalanNode.html">XalanNode</a> *context) const
<dl class="el"><dd><font size=-1><em>Given a 'from' pattern (ala xsl:number), a match pattern and a context, find the first ancestor that matches the pattern (including the context handed in).</em> <a href="#b1">More...</a><em><br><br></em></font></dl><li>const <a class="el" href="classXPath.html">XPath</a>* <a class="el" href="classElemNumber.html#b2">getCountMatchPattern</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode) const
<dl class="el"><dd><font size=-1><em>Get the count match pattern, or a default value.</em> <a href="#b2">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classElemNumber.html#b3">getCountString</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theResult) const
<dl class="el"><dd><font size=-1><em>Given an XML source node, get the count according to the parameters set up by the xsl:number attributes.</em> <a href="#b3">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classElemNumber.html#b4">getCountString</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, const <a class="el" href="classMutableNodeRefList.html">MutableNodeRefList</a> &amp;ancestors, <a class="el" href="StylesheetExecutionContext_8hpp.html#a1">CountersTable</a> &amp;ctable, <a class="el" href="classElemNumber.html#s0">CountType</a> numberList[], <a class="el" href="classNodeRefListBase.html#s0">NodeRefListBase::size_type</a> numberListLength, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theResult) const
<li>void <a class="el" href="classElemNumber.html#b5">getMatchingAncestors</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *node, bool stopAtFirstFound, <a class="el" href="classMutableNodeRefList.html">MutableNodeRefList</a> &amp;ancestors) const
<dl class="el"><dd><font size=-1><em>Get the ancestors, up to the root, that match the pattern.</em> <a href="#b5">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanNumberFormat.html">XalanNumberFormat</a>* <a class="el" href="classElemNumber.html#b6">getNumberFormatter</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd><font size=-1><em>Get a formatter.</em> <a href="#b6">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classElemNumber.html#b7">formatNumberList</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, const <a class="el" href="classElemNumber.html#s0">CountType</a> theList[], <a class="el" href="classNodeRefListBase.html#s0">NodeRefListBase::size_type</a> theListLength, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;formattedNumber) const
<dl class="el"><dd><font size=-1><em>Format an array of integrals into a formatted string.</em> <a href="#b7">More...</a><em><br><br></em></font></dl></ul>
<h2>Static Protected Methods</h2>
<ul>
<li>void <a class="el" href="classElemNumber.html#e0">int2singlealphaCount</a> (<a class="el" href="classElemNumber.html#s0">CountType</a> val, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;table, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theResult)
<dl class="el"><dd><font size=-1><em>Convert an intergral into alphabetic counting, in other words count using the sequence A B C ...</em> <a href="#e0">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classElemNumber.html#e1">int2alphaCount</a> (<a class="el" href="classElemNumber.html#s0">CountType</a> val, const XalanDOMChar table[], <a class="el" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a> length, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theResult)
<dl class="el"><dd><font size=-1><em>Convert an integral into alphabetic counting, in other words count using the sequence A B C ...</em> <a href="#e1">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classElemNumber.html#e2">toRoman</a> (<a class="el" href="classElemNumber.html#s0">CountType</a> val, bool prefixesAreOK, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theResult)
<dl class="el"><dd><font size=-1><em>Convert an integral into roman numerals.</em> <a href="#e2">More...</a><em><br><br></em></font></dl></ul>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="ElemNumber::CountType"></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>
typedef CountersTable::CountType ElemNumber::CountType
</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="s1" doxytag="ElemNumber::CountTypeArrayType"></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>
typedef XalanVector&lt; <a class="el" href="classElemNumber.html#s0">CountType</a> &gt; ElemNumber::CountTypeArrayType&lt;<a class="el" href="classElemNumber.html#s0">CountType</a>&gt;
</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 Enumeration Documentation</h2>
<a name="s5" doxytag="ElemNumber::eLevel"></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>
enum ElemNumber::eLevel
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<dl compact><dt>
<b>Enumeration values:</b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><a name="s5s2" doxytag="eSingle"></a><em>eSingle</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s5s3" doxytag="eMultiple"></a><em>eMultiple</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s5s4" doxytag="eAny"></a><em>eAny</em>
&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ElemNumber::ElemNumber"></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>
ElemNumber::ElemNumber (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp; <em>constructionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &amp; <em>stylesheetTree</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp; <em>atts</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
int <em>lineNumber</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
int <em>columnNumber</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
unsigned long <em>id</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Construct an object corresponding to an "xsl:number" element.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>constructionContext</em>
&nbsp;</td><td>
context for construction of object </td></tr>
<tr><td valign=top><em>stylesheetTree</em>
&nbsp;</td><td>
stylesheet containing element </td></tr>
<tr><td valign=top><em>atts</em>
&nbsp;</td><td>
list of attributes for element </td></tr>
<tr><td valign=top><em>lineNumber</em>
&nbsp;</td><td>
line number in document </td></tr>
<tr><td valign=top><em>columnNumber</em>
&nbsp;</td><td>
column number in document </td></tr>
<tr><td valign=top><em>id</em>
&nbsp;</td><td>
The unique ID within the stylesheet for this xsl:number element </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a1" doxytag="ElemNumber::~ElemNumber"></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>
ElemNumber::~ElemNumber (
</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="d2" doxytag="ElemNumber::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>
ElemNumber * ElemNumber::create (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp; <em>constructionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &amp; <em>stylesheetTree</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp; <em>atts</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
int <em>lineNumber</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
int <em>columnNumber</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
unsigned long <em>id</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="b0" doxytag="ElemNumber::findAncestor"></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="classXalanNode.html">XalanNode</a> * ElemNumber::findAncestor (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXPath.html">XPath</a> * <em>fromMatchPattern</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXPath.html">XPath</a> * <em>countMatchPattern</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>context</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Given a 'from' pattern (ala xsl:number), a match pattern and a context, find the first ancestor that matches the pattern (including the context handed in).
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
The current execution context </td></tr>
<tr><td valign=top><em>matchPatternString</em>
&nbsp;</td><td>
The match pattern. </td></tr>
<tr><td valign=top><em>matchPatternString</em>
&nbsp;</td><td>
The count match pattern. </td></tr>
<tr><td valign=top><em>node</em>
&nbsp;</td><td>
The context node </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A pointer to the matched node. </dl> </td>
</tr>
</table>
<a name="b1" doxytag="ElemNumber::findPrecedingOrAncestorOrSelf"></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="classXalanNode.html">XalanNode</a> * ElemNumber::findPrecedingOrAncestorOrSelf (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXPath.html">XPath</a> * <em>fromMatchPattern</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXPath.html">XPath</a> * <em>countMatchPattern</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>context</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Given a 'from' pattern (ala xsl:number), a match pattern and a context, find the first ancestor that matches the pattern (including the context handed in).
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
The current execution context </td></tr>
<tr><td valign=top><em>matchPatternString</em>
&nbsp;</td><td>
The match pattern. </td></tr>
<tr><td valign=top><em>matchPatternString</em>
&nbsp;</td><td>
The count match pattern. </td></tr>
<tr><td valign=top><em>node</em>
&nbsp;</td><td>
The context node </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A pointer to the matched node. </dl> </td>
</tr>
</table>
<a name="b7" doxytag="ElemNumber::formatNumberList"></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 ElemNumber::formatNumberList (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classElemNumber.html#s0">CountType</a> <em>theList</em>[],
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classNodeRefListBase.html#s0">NodeRefListBase::size_type</a> <em>theListLength</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>formattedNumber</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Format an array of integrals into a formatted string.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
The current execution context. </td></tr>
<tr><td valign=top><em>theList</em>
&nbsp;</td><td>
Array of one or more integer numbers. </td></tr>
<tr><td valign=top><em>theListLength</em>
&nbsp;</td><td>
The length of the array. </td></tr>
<tr><td valign=top><em>formattedNumber</em>
&nbsp;</td><td>
The formatted number result. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="b2" doxytag="ElemNumber::getCountMatchPattern"></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="classXPath.html">XPath</a> * ElemNumber::getCountMatchPattern (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the count match pattern, or a default value.
<p>
</td>
</tr>
</table>
<a name="b4" doxytag="ElemNumber::getCountString"></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 ElemNumber::getCountString (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classMutableNodeRefList.html">MutableNodeRefList</a> &amp; <em>ancestors</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="StylesheetExecutionContext_8hpp.html#a1">CountersTable</a> &amp; <em>ctable</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classElemNumber.html#s0">CountType</a> <em>numberList</em>[],
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classNodeRefListBase.html#s0">NodeRefListBase::size_type</a> <em>numberListLength</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theResult</em>&nbsp;) const<code> [protected]</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="b3" doxytag="ElemNumber::getCountString"></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 ElemNumber::getCountString (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theResult</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Given an XML source node, get the count according to the parameters set up by the xsl:number attributes.
<p>
</td>
</tr>
</table>
<a name="a2" doxytag="ElemNumber::getElementName"></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; ElemNumber::getElementName (
</b></td>
<td valign="bottom"><b>
) const<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 string for the name of the element.
<p>
Useful for debugging purposes, and error reporting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
A string containing the name of the element. </dl>
<p>
Reimplemented from <a class="el" href="classElemTemplateElement.html#a13">ElemTemplateElement</a>. </td>
</tr>
</table>
<a name="a4" doxytag="ElemNumber::getID"></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>
unsigned long ElemNumber::getID (
</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="b5" doxytag="ElemNumber::getMatchingAncestors"></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 ElemNumber::getMatchingAncestors (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>node</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>stopAtFirstFound</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classMutableNodeRefList.html">MutableNodeRefList</a> &amp; <em>ancestors</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the ancestors, up to the root, that match the pattern.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>patterns</em>
&nbsp;</td><td>
if non-0, count only nodes that match this pattern, if 0 count all ancestors. </td></tr>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
The current execution context. </td></tr>
<tr><td valign=top><em>node</em>
&nbsp;</td><td>
Count this node and it's ancestors. </td></tr>
<tr><td valign=top><em>stopAtFirstFound</em>
&nbsp;</td><td>
If true, only get the first matching ancestor </td></tr>
<tr><td valign=top><em>ancestors</em>
&nbsp;</td><td>
The ancestors that match the pattern. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="b6" doxytag="ElemNumber::getNumberFormatter"></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="classXalanNumberFormat.html">XalanNumberFormat</a> * ElemNumber::getNumberFormatter (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get a formatter.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
The current execution context. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A new <a class="el" href="classXalanNumberFormat.html">XalanNumberFormat</a> instance. The caller owns the memory. </dl> </td>
</tr>
</table>
<a name="a5" doxytag="ElemNumber::getPreviousNode"></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="classXalanNode.html">XalanNode</a> * ElemNumber::getPreviousNode (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>pos</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the previous node to be counted.
<p>
</td>
</tr>
</table>
<a name="a6" doxytag="ElemNumber::getTargetNode"></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="classXalanNode.html">XalanNode</a> * ElemNumber::getTargetNode (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>sourceNode</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the target node that will be counted..
<p>
</td>
</tr>
</table>
<a name="a7" doxytag="ElemNumber::getXPath"></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="classXPath.html">XPath</a> * ElemNumber::getXPath (
</b></td>
<td valign="bottom"><b>
unsigned int <em>index</em> = 0&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>
Get <a class="el" href="classXPath.html">XPath</a> pattern/expression of one of the element atribute.
<p>
@index number of the attribute. If an attribute has more then one attribute with pattern/expression,the order of the returned expressions are undefined
<p>
<dl compact><dt>
<b>Returns: </b><dd>
pointer or null </dl>
<p>
Reimplemented from <a class="el" href="classElemTemplateElement.html#a40">ElemTemplateElement</a>. </td>
</tr>
</table>
<a name="d0" doxytag="ElemNumber::initialize"></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 ElemNumber::initialize (
</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>
Perform static initialization.
<p>
See class <a class="el" href="classXSLTInit.html">XSLTInit</a>. </td>
</tr>
</table>
<a name="e1" doxytag="ElemNumber::int2alphaCount"></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 ElemNumber::int2alphaCount (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classElemNumber.html#s0">CountType</a> <em>val</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const XalanDOMChar <em>table</em>[],
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a> <em>length</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theResult</em>&nbsp;)<code> [static, protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Convert an integral into alphabetic counting, in other words count using the sequence A B C ...
<p>
Z AA AB AC.... etc. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>val</em>
&nbsp;</td><td>
Value to convert -- must be greater than zero. </td></tr>
<tr><td valign=top><em>table</em>
&nbsp;</td><td>
a table containing one character for each digit in the radix </td></tr>
<tr><td valign=top><em>length</em>
&nbsp;</td><td>
the table length </td></tr>
<tr><td valign=top><em>result</em>
&nbsp;</td><td>
returns the stringrepresenting alpha count of number. </td></tr>
</table>
</dl><dl compact><dt>
<b>See also: </b><dd>
XSLTEngineImpl::DecimalToRoman
<p>
</dl>Note that the radix of the conversion is inferred from the size of the table. </td>
</tr>
</table>
<a name="e0" doxytag="ElemNumber::int2singlealphaCount"></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 ElemNumber::int2singlealphaCount (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classElemNumber.html#s0">CountType</a> <em>val</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>table</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theResult</em>&nbsp;)<code> [static, protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Convert an intergral into alphabetic counting, in other words count using the sequence A B C ...
<p>
Z. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>val</em>
&nbsp;</td><td>
Value to convert -- must be greater than zero. </td></tr>
<tr><td valign=top><em>table</em>
&nbsp;</td><td>
a table containing one character for each digit in the radix </td></tr>
<tr><td valign=top><em>theResult</em>
&nbsp;</td><td>
A string representing alpha count of number. </td></tr>
</table>
</dl><dl compact><dt>
<b>See also: </b><dd>
XSLTEngineImpl::DecimalToRoman
<p>
</dl>Note that the radix of the conversion is inferred from the size of the table. </td>
</tr>
</table>
<a name="a3" doxytag="ElemNumber::startElement"></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="classElemTemplateElement.html">ElemTemplateElement</a> * ElemNumber::startElement (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</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>
Completes "pre-processing" before any sub-elements are invoked (i.e.
<p>
children, attribute sets and templates). If there are no sub-elements it executes the primary function of the element.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
context to execute this element </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classElemTemplateElement.html#a6">ElemTemplateElement</a>. </td>
</tr>
</table>
<a name="d1" doxytag="ElemNumber::terminate"></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 ElemNumber::terminate (
</b></td>
<td valign="bottom"><b>
)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Perform static shut down.
<p>
See class <a class="el" href="classXSLTInit.html">XSLTInit</a>. </td>
</tr>
</table>
<a name="e2" doxytag="ElemNumber::toRoman"></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 ElemNumber::toRoman (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classElemNumber.html#s0">CountType</a> <em>val</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>prefixesAreOK</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theResult</em>&nbsp;)<code> [static, protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Convert an integral into roman numerals.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>val</em>
&nbsp;</td><td>
Value to convert. </td></tr>
<tr><td valign=top><em>prefixesAreOK</em>
&nbsp;</td><td>
true to enable prefix notation (e.g. 4 = "IV"), false to disable prefix notation (e.g. 4 = "IIII"). </td></tr>
<tr><td valign=top><em>theResult</em>
&nbsp;</td><td>
The formatted Roman numeral string. </td></tr>
</table>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="structDecimalToRoman.html">DecimalToRoman</a> , m_romanConvertTable </dl> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ElemNumber_8hpp-source.html">ElemNumber.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>