| <!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 Page</span></a></li> |
| <li><a href="pages.html"><span>Related 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 List</span></a></li> |
| <li><a href="classes.html"><span>Class Index</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </div> |
| </div> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#nested-classes">Classes</a> | |
| <a href="#pub-types">Public Types</a> | |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="#pub-static-methods">Static Public Member Functions</a> | |
| <a href="#pro-methods">Protected Member Functions</a> | |
| <a href="#pro-static-methods">Static Protected Member Functions</a> </div> |
| <div class="headertitle"> |
| <h1>ElemNumber Class Reference</h1> </div> |
| </div> |
| <div class="contents"> |
| <!-- doxytag: class="ElemNumber" --><!-- doxytag: inherits="ElemTemplateElement" --> |
| <p><code>#include <<a class="el" href="ElemNumber_8hpp_source.html">ElemNumber.hpp</a>></code></p> |
| |
| <p>Inherits <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a>.</p> |
| <div class="dynheader"> |
| Collaboration diagram for ElemNumber:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="classElemNumber__coll__graph.png" border="0" usemap="#ElemNumber_coll__map" alt="Collaboration graph"/></div> |
| <map name="ElemNumber_coll__map" id="ElemNumber_coll__map"> |
| <area shape="rect" id="node2" href="classElemTemplateElement.html" title="ElemTemplateElement" alt="" coords="2276,645,2441,675"/><area shape="rect" id="node25" href="classElemTextLiteral.html" title="ElemTextLiteral" alt="" coords="2856,587,2973,616"/><area shape="rect" id="node43" href="classElemTemplate.html" title="ElemTemplate" alt="" coords="2859,657,2971,687"/><area shape="rect" id="node95" href="classStylesheetRoot.html" title="This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl..." alt="" coords="3735,1245,3852,1275"/><area shape="rect" id="node4" href="classPrefixResolver.html" title="This class defines an interface for classes that resolve namespace prefixes to their URIs..." alt="" coords="1901,377,2011,407"/><area shape="rect" id="node66" href="classStylesheet.html" title="This class represents the base stylesheet or an "import" stylesheet." alt="" coords="3363,1245,3453,1275"/><area shape="rect" id="node6" href="classNamespacesHandler.html" title="NamespacesHandler" alt="" coords="1879,493,2033,523"/><area shape="rect" id="node8" href="classXalanVector.html" title="XalanVector\< Namespace \>" alt="" coords="1295,492,1500,521"/><area shape="rect" id="node10" href="classXalanMap.html" title="XalanMap\< const XalanDOMString *, const XalanDOMString * \>" alt="" coords="1180,1392,1615,1421"/><area shape="rect" id="node12" href="classXalanVector.html" title="XalanVector\< BucketType, ConstructWithMemoryManagerTraits\< BucketType \> \>" alt="" coords="433,1936,977,1965"/><area shape="rect" id="node69" href="classXalanMap.html" title="XalanMap\< XalanDOMString, ExtensionNSHandler * \>" alt="" coords="1212,1545,1583,1575"/><area shape="rect" id="node83" href="classXalanMap.html" title="XalanMap\< XalanDOMString, PatternTableVectorType \>" alt="" coords="1208,1653,1587,1683"/><area shape="rect" id="node98" href="classXalanMap.html" title="XalanMap\< const XalanQName *, AttributeSetVectorType \>" alt="" coords="1193,2015,1601,2044"/><area shape="rect" id="node109" href="classXalanMap.html" title="XalanMap\< XalanQNameByReference, const ElemTemplate * \>" alt="" coords="1183,1879,1612,1908"/><area shape="rect" id="node14" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_01_4.html" title="XalanMapKeyTraits\< const XalanDOMString * \>" alt="" coords="541,1189,869,1219"/><area shape="rect" id="node16" href="classXalanList.html" title="XalanList\< Entry \>" alt="" coords="633,1709,777,1739"/><area shape="rect" id="node18" href="structXalanList_1_1Node.html" title="XalanList\< Type \>::Node" alt="" coords="44,1709,225,1739"/><area shape="rect" id="node21" href="classXalanVector.html" title="XalanVector\< const XalanDOMString * \>" alt="" coords="1255,385,1540,415"/><area shape="rect" id="node23" href="classXalanVector.html" title="XalanVector\< NamespaceExtended \>" alt="" coords="1264,439,1531,468"/><area shape="rect" id="node28" href="classXalanQNameByReference.html" title="XalanQNameByReference" alt="" coords="1863,781,2049,811"/><area shape="rect" id="node30" href="classXalanQName.html" title="Class to represent a qualified name." alt="" coords="1344,715,1451,744"/><area shape="rect" id="node32" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="641,788,769,817"/><area shape="rect" id="node37" href="classElemTemplateElement_1_1LocatorProxy.html" title="ElemTemplateElement::LocatorProxy" alt="" coords="1269,545,1525,575"/><area shape="rect" id="node46" href="classXPath.html" title="XPath" alt="" coords="1925,440,1987,469"/><area shape="rect" id="node54" href="classXPathExpression.html" title="XPathExpression" alt="" coords="1332,228,1463,257"/><area shape="rect" id="node121" href="classXalanNamespace.html" title="XalanNamespace" alt="" coords="1329,1060,1465,1089"/><area shape="rect" id="node127" href="classXalanNumberingResourceBundle.html" title="XalanNumberingResourceBundle" alt="" coords="1281,1188,1513,1217"/><area shape="rect" id="node136" href="classAVT.html" title="Class to hold an Attribute Value Template." alt="" coords="1375,957,1420,987"/><area shape="rect" id="node34" href="classXalanVector.html" title="XalanVector\< XalanDOMChar \>" alt="" coords="21,1160,248,1189"/><area shape="rect" id="node39" href="classXalanLocator.html" title="This class defines a base class for Locator derivations in Xalan." alt="" coords="652,520,759,549"/><area shape="rect" id="node48" href="classXPathFunctionTable.html" title="Class defines a table of functions that can be called in XPath expresions." alt="" coords="1324,73,1471,103"/><area shape="rect" id="node50" href="classFunction.html" title="Function" alt="" coords="668,8,743,37"/><area shape="rect" id="node52" href="structXPathFunctionTable_1_1FunctionNameTableEntry.html" title="XPathFunctionTable::FunctionNameTableEntry" alt="" coords="548,73,863,103"/><area shape="rect" id="node56" href="classXalanVector.html" title="XalanVector\< XToken \>" alt="" coords="617,233,793,263"/><area shape="rect" id="node58" href="classXalanVector.html" title="XalanVector\< int \>" alt="" coords="632,127,779,156"/><area shape="rect" id="node60" href="classXalanVector.html" title="XalanVector\< double \>" alt="" coords="619,180,792,209"/><area shape="rect" id="node73" href="structXalanMapKeyTraits_3_01XalanDOMString_01_4.html" title="XalanMapKeyTraits\< XalanDOMString \>" alt="" coords="567,1439,844,1468"/><area shape="rect" id="node76" href="classXalanVector.html" title="XalanVector\< Stylesheet * \>" alt="" coords="2811,1348,3019,1377"/><area shape="rect" id="node78" href="classXalanVector.html" title="XalanVector\< ElemVariable * \>" alt="" coords="2803,1401,3027,1431"/><area shape="rect" id="node81" href="classXalanVector.html" title="XalanVector\< XalanSpaceNodeTester \>" alt="" coords="2775,1455,3055,1484"/><area shape="rect" id="node88" href="classXalanVector.html" title="XalanVector\< Type, ConstructionTraits \>" alt="" coords="2773,1649,3056,1679"/><area shape="rect" id="node90" href="classXalanVector.html" title="XalanVector\< XalanDOMString \>" alt="" coords="2797,1703,3032,1732"/><area shape="rect" id="node93" href="classXalanVector.html" title="XalanVector\< ElemDecimalFormat * \>" alt="" coords="2780,1756,3049,1785"/><area shape="rect" id="node100" href="structXalanMapKeyTraits_3_01const_01XalanQName_01_5_01_4.html" title="XalanMapKeyTraits\< const XalanQName * \>" alt="" coords="551,2163,860,2192"/><area shape="rect" id="node106" href="classXalanVector.html" title="XalanVector\< const XalanQName * \>" alt="" coords="3275,1860,3541,1889"/><area shape="rect" id="node112" href="structXalanMapKeyTraits_3_01XalanQNameByReference_01_4.html" title="XalanMapKeyTraits\< XalanQNameByReference \>" alt="" coords="536,2049,875,2079"/><area shape="rect" id="node114" href="structXalanMapKeyTraits_3_01XalanQName_01_4.html" title="XalanMapKeyTraits\< XalanQName \>" alt="" coords="5,2049,264,2079"/><area shape="rect" id="node117" href="classXalanDeque.html" title="Xalan implementation of deque." alt="" coords="2467,1188,2749,1217"/><area shape="rect" id="node119" href="classXalanVector.html" title="XalanVector\< BlockType * \>" alt="" coords="1855,1116,2057,1145"/><area shape="rect" id="node124" href="classXalanVector.html" title="XalanVector\< KeyDeclaration \>" alt="" coords="2801,711,3028,740"/><area shape="rect" id="node129" href="classXalanVector.html" title="XalanVector\< XalanDOMCharVectorType \>" alt="" coords="556,1360,855,1389"/><area shape="rect" id="node132" href="classXalanVector.html" title="XalanVector\< NumberType \>" alt="" coords="600,1136,811,1165"/><area shape="rect" id="node139" href="classAVTPart.html" title="Class to hold a part, either a string or XPath, of an Attribute Value Template." alt="" coords="669,957,741,987"/><area shape="rect" id="node141" href="structDecimalToRoman.html" title="Structure to help in converting integrals to roman numerals." alt="" coords="2292,1088,2425,1117"/></map> |
| <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> |
| |
| <p><a href="classElemNumber-members.html">List of all members.</a></p> |
| <h2><a name="nested-classes"></a> |
| Classes</h2> |
| <ul> |
| <li>class <a class="el" href="classElemNumber_1_1NumberFormatStringTokenizer.html">NumberFormatStringTokenizer</a> |
| <dl class="el"><dd class="mdescRight">This class returns tokens using non-alphanumberic characters as delimiters. <a href="classElemNumber_1_1NumberFormatStringTokenizer.html#_details">More...</a><br/></dl></ul> |
| <h2><a name="pub-types"></a> |
| Public Types</h2> |
| <ul> |
| <li>enum <a class="el" href="classElemNumber.html#a1da73db5abb8c9fb21ab8ec6f5ec8ed8">eLevel</a> { <a class="el" href="classElemNumber.html#a1da73db5abb8c9fb21ab8ec6f5ec8ed8ad329ef7ac55a716570172fec3b1b40af">eSingle</a>, |
| <a class="el" href="classElemNumber.html#a1da73db5abb8c9fb21ab8ec6f5ec8ed8a62ac84c04e6c2df03efbb99034237d32">eMultiple</a>, |
| <a class="el" href="classElemNumber.html#a1da73db5abb8c9fb21ab8ec6f5ec8ed8ad0abeaf75aabc8d7827a71b4b3f10561">eAny</a> |
| } |
| <li>typedef <a class="el" href="classCountersTable.html#a20bdfa6d843b7b335bf2d7104bb5da22">CountersTable::CountType</a> <a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> |
| <li>typedef <a class="el" href="classXalanVector.html">XalanVector</a>< <a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> > <a class="el" href="classElemNumber.html#ae3fcb3151bbd98fedd83e7c9b73cdbdd">CountTypeArrayType</a> |
| </ul> |
| <h2><a name="pub-methods"></a> |
| Public Member Functions</h2> |
| <ul> |
| <li><a class="el" href="classElemNumber.html#a8570a6753a9e1b6eae1cc2dc4dd249ec">ElemNumber</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &constructionContext, <a class="el" href="classStylesheet.html">Stylesheet</a> &stylesheetTree, const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber, unsigned long id) |
| <dl class="el"><dd class="mdescRight">Construct an object corresponding to an "xsl:number" element. <a href="#a8570a6753a9e1b6eae1cc2dc4dd249ec"></a><br/></dl><li>virtual <a class="el" href="classElemNumber.html#ae83e7511a4231556ef53db0149f1ec3e">~ElemNumber</a> () |
| <li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <a class="el" href="classElemNumber.html#a54c79e59d43b44dabcb71d847900ad96">getElementName</a> () const |
| <dl class="el"><dd class="mdescRight">Get a string for the name of the element. <a href="#a54c79e59d43b44dabcb71d847900ad96"></a><br/></dl><li>virtual const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> * <a class="el" href="classElemNumber.html#a9321b50eb9d41bfd5e191bbc1390d34b">startElement</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext) const |
| <dl class="el"><dd class="mdescRight">Completes "pre-processing" before any sub-elements are invoked (i.e. <a href="#a9321b50eb9d41bfd5e191bbc1390d34b"></a><br/></dl><li>unsigned long <a class="el" href="classElemNumber.html#a3c245e168a7c55882158c91dab0bbbc2">getID</a> () const |
| <li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="classElemNumber.html#a9545ead903d3a97ba19c700223374b55">getPreviousNode</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *pos) const |
| <dl class="el"><dd class="mdescRight">Get the previous node to be counted. <a href="#a9545ead903d3a97ba19c700223374b55"></a><br/></dl><li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="classElemNumber.html#ac658f2af5808a03ab6acc3eb3c2a9a5c">getTargetNode</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode) const |
| <dl class="el"><dd class="mdescRight">Get the target node that will be counted. <a href="#ac658f2af5808a03ab6acc3eb3c2a9a5c"></a><br/></dl><li>virtual const <a class="el" href="classXPath.html">XPath</a> * <a class="el" href="classElemNumber.html#a1deba0a610975c716ca07d8351e0cf2b">getXPath</a> (XalanSize_t index) const |
| <dl class="el"><dd class="mdescRight">Get <a class="el" href="classXPath.html">XPath</a> pattern/expression of one of the element atribute. <a href="#a1deba0a610975c716ca07d8351e0cf2b"></a><br/></dl></ul> |
| <h2><a name="pub-static-methods"></a> |
| Static Public Member Functions</h2> |
| <ul> |
| <li>static void <a class="el" href="classElemNumber.html#a5becfb6c578cc0f4f4c57459ffa12233">initialize</a> (MemoryManager &theManager) |
| <dl class="el"><dd class="mdescRight">Perform static initialization. <a href="#a5becfb6c578cc0f4f4c57459ffa12233"></a><br/></dl><li>static void <a class="el" href="classElemNumber.html#a62f7ccb8f244ca8e3243285667ef2517">terminate</a> () |
| <dl class="el"><dd class="mdescRight">Perform static shut down. <a href="#a62f7ccb8f244ca8e3243285667ef2517"></a><br/></dl><li>static <a class="el" href="classElemNumber.html">ElemNumber</a> * <a class="el" href="classElemNumber.html#abdb6019840e78e4c22144cb6582e1882">create</a> (MemoryManager &theManager, <a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &constructionContext, <a class="el" href="classStylesheet.html">Stylesheet</a> &stylesheetTree, const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber, unsigned long id) |
| </ul> |
| <h2><a name="pro-methods"></a> |
| Protected Member Functions</h2> |
| <ul> |
| <li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="classElemNumber.html#a5d17822c333315065b6f935f3059a4ae">findAncestor</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &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 class="mdescRight">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). <a href="#a5d17822c333315065b6f935f3059a4ae"></a><br/></dl><li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="classElemNumber.html#af46d22d19eb984629b68ace16cb92ecb">findPrecedingOrAncestorOrSelf</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &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 class="mdescRight">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). <a href="#af46d22d19eb984629b68ace16cb92ecb"></a><br/></dl><li>const <a class="el" href="classXPath.html">XPath</a> * <a class="el" href="classElemNumber.html#ad7ba3cf7fc92046f290e0dae7d93e56e">getCountMatchPattern</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode) const |
| <dl class="el"><dd class="mdescRight">Get the count match pattern, or a default value. <a href="#ad7ba3cf7fc92046f290e0dae7d93e56e"></a><br/></dl><li>void <a class="el" href="classElemNumber.html#a06c78b42b6ba2369437fa85fdf0bd881">getCountString</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &<a class="el" href="XalanDOMString_8hpp.html#ad0987a2085caff760532b7f16b5c6f2e">theResult</a>) const |
| <dl class="el"><dd class="mdescRight">Given an XML source node, get the count according to the parameters set up by the xsl:number attributes. <a href="#a06c78b42b6ba2369437fa85fdf0bd881"></a><br/></dl><li>void <a class="el" href="classElemNumber.html#aba887101beb8f6d5fde64c57804bf5c8">getCountString</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext, const <a class="el" href="classMutableNodeRefList.html">MutableNodeRefList</a> &ancestors, <a class="el" href="classCountersTable.html">CountersTable</a> &ctable, <a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> numberList[], <a class="el" href="classNodeRefListBase.html#a4a4343b0f47a5f789bb00f5fb3556337">NodeRefListBase::size_type</a> numberListLength, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &<a class="el" href="XalanDOMString_8hpp.html#ad0987a2085caff760532b7f16b5c6f2e">theResult</a>) const |
| <li>void <a class="el" href="classElemNumber.html#a640761142eae277d4afabf8ca30082ca">getMatchingAncestors</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *node, bool stopAtFirstFound, <a class="el" href="classMutableNodeRefList.html">MutableNodeRefList</a> &ancestors) const |
| <dl class="el"><dd class="mdescRight">Get the ancestors, up to the root, that match the pattern. <a href="#a640761142eae277d4afabf8ca30082ca"></a><br/></dl><li><a class="el" href="classXalanNumberFormat.html">XalanNumberFormat</a> * <a class="el" href="classElemNumber.html#ada15f805e032da57830c4dd06645fec4">getNumberFormatter</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext) const |
| <dl class="el"><dd class="mdescRight">Get a formatter. <a href="#ada15f805e032da57830c4dd06645fec4"></a><br/></dl><li>void <a class="el" href="classElemNumber.html#a35920482c9cbadd7b1cb9049627fe014">formatNumberList</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext, const <a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> theList[], <a class="el" href="classNodeRefListBase.html#a4a4343b0f47a5f789bb00f5fb3556337">NodeRefListBase::size_type</a> theListLength, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &formattedNumber) const |
| <dl class="el"><dd class="mdescRight">Format an array of integrals into a formatted string. <a href="#a35920482c9cbadd7b1cb9049627fe014"></a><br/></dl></ul> |
| <h2><a name="pro-static-methods"></a> |
| Static Protected Member Functions</h2> |
| <ul> |
| <li>static void <a class="el" href="classElemNumber.html#a8ea5c7befeacfbc2eeb4096514833f17">int2singlealphaCount</a> (<a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> val, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &table, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &<a class="el" href="XalanDOMString_8hpp.html#ad0987a2085caff760532b7f16b5c6f2e">theResult</a>) |
| <dl class="el"><dd class="mdescRight">Convert an intergral into alphabetic counting, in other words count using the sequence A B C ... <a href="#a8ea5c7befeacfbc2eeb4096514833f17"></a><br/></dl><li>static void <a class="el" href="classElemNumber.html#a10de20ad6efbda6f4ea0bfa3c3d3d68f">int2alphaCount</a> (<a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> val, const XalanDOMChar table[], <a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">XalanDOMString::size_type</a> length, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &<a class="el" href="XalanDOMString_8hpp.html#ad0987a2085caff760532b7f16b5c6f2e">theResult</a>) |
| <dl class="el"><dd class="mdescRight">Convert an integral into alphabetic counting, in other words count using the sequence A B C ... <a href="#a10de20ad6efbda6f4ea0bfa3c3d3d68f"></a><br/></dl><li>static void <a class="el" href="classElemNumber.html#a2e71d2741520bcc65d2203c0564e620b">toRoman</a> (<a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> val, bool prefixesAreOK, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &<a class="el" href="XalanDOMString_8hpp.html#ad0987a2085caff760532b7f16b5c6f2e">theResult</a>) |
| <dl class="el"><dd class="mdescRight">Convert an integral into roman numerals. <a href="#a2e71d2741520bcc65d2203c0564e620b"></a><br/></dl></ul> |
| <hr/><a name="_details"></a><h2>Detailed Description</h2> |
| |
| <p>Definition at line <a class="el" href="ElemNumber_8hpp_source.html#l00059">59</a> of file <a class="el" href="ElemNumber_8hpp_source.html">ElemNumber.hpp</a>.</p> |
| <hr/><h2>Member Typedef Documentation</h2> |
| <a class="anchor" id="a8d44cd95050bec8e2fa3beb772c8d3d5"></a><!-- doxytag: member="ElemNumber::CountType" ref="a8d44cd95050bec8e2fa3beb772c8d3d5" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classCountersTable.html#a20bdfa6d843b7b335bf2d7104bb5da22">CountersTable::CountType</a> <a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">ElemNumber::CountType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="ElemNumber_8hpp_source.html#l00063">63</a> of file <a class="el" href="ElemNumber_8hpp_source.html">ElemNumber.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae3fcb3151bbd98fedd83e7c9b73cdbdd"></a><!-- doxytag: member="ElemNumber::CountTypeArrayType" ref="ae3fcb3151bbd98fedd83e7c9b73cdbdd" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a><<a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a>> <a class="el" href="classXalanVector.html">ElemNumber::CountTypeArrayType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="ElemNumber_8hpp_source.html#l00072">72</a> of file <a class="el" href="ElemNumber_8hpp_source.html">ElemNumber.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Enumeration Documentation</h2> |
| <a class="anchor" id="a1da73db5abb8c9fb21ab8ec6f5ec8ed8"></a><!-- doxytag: member="ElemNumber::eLevel" ref="a1da73db5abb8c9fb21ab8ec6f5ec8ed8" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">enum <a class="el" href="classElemNumber.html#a1da73db5abb8c9fb21ab8ec6f5ec8ed8">ElemNumber::eLevel</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"><em><a class="anchor" id="a1da73db5abb8c9fb21ab8ec6f5ec8ed8ad329ef7ac55a716570172fec3b1b40af"></a><!-- doxytag: member="eSingle" ref="a1da73db5abb8c9fb21ab8ec6f5ec8ed8ad329ef7ac55a716570172fec3b1b40af" args="" -->eSingle</em> </td><td> |
| </td></tr> |
| <tr><td valign="top"><em><a class="anchor" id="a1da73db5abb8c9fb21ab8ec6f5ec8ed8a62ac84c04e6c2df03efbb99034237d32"></a><!-- doxytag: member="eMultiple" ref="a1da73db5abb8c9fb21ab8ec6f5ec8ed8a62ac84c04e6c2df03efbb99034237d32" args="" -->eMultiple</em> </td><td> |
| </td></tr> |
| <tr><td valign="top"><em><a class="anchor" id="a1da73db5abb8c9fb21ab8ec6f5ec8ed8ad0abeaf75aabc8d7827a71b4b3f10561"></a><!-- doxytag: member="eAny" ref="a1da73db5abb8c9fb21ab8ec6f5ec8ed8ad0abeaf75aabc8d7827a71b4b3f10561" args="" -->eAny</em> </td><td> |
| </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="ElemNumber_8hpp_source.html#l00065">65</a> of file <a class="el" href="ElemNumber_8hpp_source.html">ElemNumber.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="a8570a6753a9e1b6eae1cc2dc4dd249ec"></a><!-- doxytag: member="ElemNumber::ElemNumber" ref="a8570a6753a9e1b6eae1cc2dc4dd249ec" args="(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber, unsigned long id)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">ElemNumber::ElemNumber </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> & </td> |
| <td class="paramname"> <em>constructionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classStylesheet.html">Stylesheet</a> & </td> |
| <td class="paramname"> <em>stylesheetTree</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> & </td> |
| <td class="paramname"> <em>atts</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">XalanFileLoc </td> |
| <td class="paramname"> <em>lineNumber</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">XalanFileLoc </td> |
| <td class="paramname"> <em>columnNumber</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">unsigned long </td> |
| <td class="paramname"> <em>id</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Construct an object corresponding to an "xsl:number" element. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>constructionContext</em> </td><td>context for construction of object </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>stylesheetTree</em> </td><td>stylesheet containing element </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>atts</em> </td><td>list of attributes for element </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>lineNumber</em> </td><td>line number in document </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>columnNumber</em> </td><td>column number in document </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The unique ID within the stylesheet for this xsl:number element </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae83e7511a4231556ef53db0149f1ec3e"></a><!-- doxytag: member="ElemNumber::~ElemNumber" ref="ae83e7511a4231556ef53db0149f1ec3e" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual ElemNumber::~ElemNumber </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Function Documentation</h2> |
| <a class="anchor" id="abdb6019840e78e4c22144cb6582e1882"></a><!-- doxytag: member="ElemNumber::create" ref="abdb6019840e78e4c22144cb6582e1882" args="(MemoryManager &theManager, StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber, unsigned long id)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static <a class="el" href="classElemNumber.html">ElemNumber</a>* ElemNumber::create </td> |
| <td>(</td> |
| <td class="paramtype">MemoryManager & </td> |
| <td class="paramname"> <em>theManager</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> & </td> |
| <td class="paramname"> <em>constructionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classStylesheet.html">Stylesheet</a> & </td> |
| <td class="paramname"> <em>stylesheetTree</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> & </td> |
| <td class="paramname"> <em>atts</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">XalanFileLoc </td> |
| <td class="paramname"> <em>lineNumber</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">XalanFileLoc </td> |
| <td class="paramname"> <em>columnNumber</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">unsigned long </td> |
| <td class="paramname"> <em>id</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a5d17822c333315065b6f935f3059a4ae"></a><!-- doxytag: member="ElemNumber::findAncestor" ref="a5d17822c333315065b6f935f3059a4ae" args="(StylesheetExecutionContext &executionContext, const XPath *fromMatchPattern, const XPath *countMatchPattern, XalanNode *context) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* ElemNumber::findAncestor </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> * </td> |
| <td class="paramname"> <em>fromMatchPattern</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> * </td> |
| <td class="paramname"> <em>countMatchPattern</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>context</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const<code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <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><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>executionContext</em> </td><td>The current execution context </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>matchPatternString</em> </td><td>The match pattern. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>matchPatternString</em> </td><td>The count match pattern. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>node</em> </td><td>The context node </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the matched node. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="af46d22d19eb984629b68ace16cb92ecb"></a><!-- doxytag: member="ElemNumber::findPrecedingOrAncestorOrSelf" ref="af46d22d19eb984629b68ace16cb92ecb" args="(StylesheetExecutionContext &executionContext, const XPath *fromMatchPattern, const XPath *countMatchPattern, XalanNode *context) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* ElemNumber::findPrecedingOrAncestorOrSelf </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> * </td> |
| <td class="paramname"> <em>fromMatchPattern</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> * </td> |
| <td class="paramname"> <em>countMatchPattern</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>context</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const<code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <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><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>executionContext</em> </td><td>The current execution context </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>matchPatternString</em> </td><td>The match pattern. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>matchPatternString</em> </td><td>The count match pattern. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>node</em> </td><td>The context node </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the matched node. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a35920482c9cbadd7b1cb9049627fe014"></a><!-- doxytag: member="ElemNumber::formatNumberList" ref="a35920482c9cbadd7b1cb9049627fe014" args="(StylesheetExecutionContext &executionContext, const CountType theList[], NodeRefListBase::size_type theListLength, XalanDOMString &formattedNumber) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ElemNumber::formatNumberList </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> </td> |
| <td class="paramname"> <em>theList</em>[], </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classNodeRefListBase.html#a4a4343b0f47a5f789bb00f5fb3556337">NodeRefListBase::size_type</a> </td> |
| <td class="paramname"> <em>theListLength</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>formattedNumber</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const<code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Format an array of integrals into a formatted string. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>executionContext</em> </td><td>The current execution context. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theList</em> </td><td>Array of one or more integer numbers. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theListLength</em> </td><td>The length of the array. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>formattedNumber</em> </td><td>The formatted number result. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ad7ba3cf7fc92046f290e0dae7d93e56e"></a><!-- doxytag: member="ElemNumber::getCountMatchPattern" ref="ad7ba3cf7fc92046f290e0dae7d93e56e" args="(StylesheetExecutionContext &executionContext, XalanNode *contextNode) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const <a class="el" href="classXPath.html">XPath</a>* ElemNumber::getCountMatchPattern </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>contextNode</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const<code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get the count match pattern, or a default value. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a06c78b42b6ba2369437fa85fdf0bd881"></a><!-- doxytag: member="ElemNumber::getCountString" ref="a06c78b42b6ba2369437fa85fdf0bd881" args="(StylesheetExecutionContext &executionContext, XalanDOMString &theResult) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ElemNumber::getCountString </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theResult</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const<code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Given an XML source node, get the count according to the parameters set up by the xsl:number attributes. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aba887101beb8f6d5fde64c57804bf5c8"></a><!-- doxytag: member="ElemNumber::getCountString" ref="aba887101beb8f6d5fde64c57804bf5c8" args="(StylesheetExecutionContext &executionContext, const MutableNodeRefList &ancestors, CountersTable &ctable, CountType numberList[], NodeRefListBase::size_type numberListLength, XalanDOMString &theResult) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ElemNumber::getCountString </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classMutableNodeRefList.html">MutableNodeRefList</a> & </td> |
| <td class="paramname"> <em>ancestors</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classCountersTable.html">CountersTable</a> & </td> |
| <td class="paramname"> <em>ctable</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> </td> |
| <td class="paramname"> <em>numberList</em>[], </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classNodeRefListBase.html#a4a4343b0f47a5f789bb00f5fb3556337">NodeRefListBase::size_type</a> </td> |
| <td class="paramname"> <em>numberListLength</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theResult</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const<code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a54c79e59d43b44dabcb71d847900ad96"></a><!-- doxytag: member="ElemNumber::getElementName" ref="a54c79e59d43b44dabcb71d847900ad96" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>& ElemNumber::getElementName </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td> const<code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get a string for the name of the element. </p> |
| <p>Useful for debugging purposes, and error reporting.</p> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>A string containing the name of the element. </dd></dl> |
| |
| <p>Implements <a class="el" href="classElemTemplateElement.html#a781239726cc49828a0a493f1d47ee60e">ElemTemplateElement</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a3c245e168a7c55882158c91dab0bbbc2"></a><!-- doxytag: member="ElemNumber::getID" ref="a3c245e168a7c55882158c91dab0bbbc2" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">unsigned long ElemNumber::getID </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td> const<code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="ElemNumber_8hpp_source.html#l00131">131</a> of file <a class="el" href="ElemNumber_8hpp_source.html">ElemNumber.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a640761142eae277d4afabf8ca30082ca"></a><!-- doxytag: member="ElemNumber::getMatchingAncestors" ref="a640761142eae277d4afabf8ca30082ca" args="(StylesheetExecutionContext &executionContext, XalanNode *node, bool stopAtFirstFound, MutableNodeRefList &ancestors) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ElemNumber::getMatchingAncestors </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>node</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"> <em>stopAtFirstFound</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classMutableNodeRefList.html">MutableNodeRefList</a> & </td> |
| <td class="paramname"> <em>ancestors</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const<code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get the ancestors, up to the root, that match the pattern. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>patterns</em> </td><td>if non-0, count only nodes that match this pattern, if 0 count all ancestors. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>executionContext</em> </td><td>The current execution context. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>node</em> </td><td>Count this node and it's ancestors. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>stopAtFirstFound</em> </td><td>If true, only get the first matching ancestor </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>ancestors</em> </td><td>The ancestors that match the pattern. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ada15f805e032da57830c4dd06645fec4"></a><!-- doxytag: member="ElemNumber::getNumberFormatter" ref="ada15f805e032da57830c4dd06645fec4" args="(StylesheetExecutionContext &executionContext) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanNumberFormat.html">XalanNumberFormat</a>* ElemNumber::getNumberFormatter </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em></td> |
| <td> ) </td> |
| <td> const<code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get a formatter. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>executionContext</em> </td><td>The current execution context. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classXalanNumberFormat.html">XalanNumberFormat</a> instance. The caller owns the memory. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a9545ead903d3a97ba19c700223374b55"></a><!-- doxytag: member="ElemNumber::getPreviousNode" ref="a9545ead903d3a97ba19c700223374b55" args="(StylesheetExecutionContext &executionContext, XalanNode *pos) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* ElemNumber::getPreviousNode </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>pos</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const</td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get the previous node to be counted. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac658f2af5808a03ab6acc3eb3c2a9a5c"></a><!-- doxytag: member="ElemNumber::getTargetNode" ref="ac658f2af5808a03ab6acc3eb3c2a9a5c" args="(StylesheetExecutionContext &executionContext, XalanNode *sourceNode) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* ElemNumber::getTargetNode </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>sourceNode</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td> const</td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get the target node that will be counted. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a1deba0a610975c716ca07d8351e0cf2b"></a><!-- doxytag: member="ElemNumber::getXPath" ref="a1deba0a610975c716ca07d8351e0cf2b" args="(XalanSize_t index) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual const <a class="el" href="classXPath.html">XPath</a>* ElemNumber::getXPath </td> |
| <td>(</td> |
| <td class="paramtype">XalanSize_t </td> |
| <td class="paramname"> <em>index</em></td> |
| <td> ) </td> |
| <td> const<code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get <a class="el" href="classXPath.html">XPath</a> pattern/expression of one of the element atribute. </p> |
| <p>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 class="return"><dt><b>Returns:</b></dt><dd>pointer or null </dd></dl> |
| |
| <p>Reimplemented from <a class="el" href="classElemTemplateElement.html#a851fb1e059af9727c212661de87536c4">ElemTemplateElement</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a5becfb6c578cc0f4f4c57459ffa12233"></a><!-- doxytag: member="ElemNumber::initialize" ref="a5becfb6c578cc0f4f4c57459ffa12233" args="(MemoryManager &theManager)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static void ElemNumber::initialize </td> |
| <td>(</td> |
| <td class="paramtype">MemoryManager & </td> |
| <td class="paramname"> <em>theManager</em></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Perform static initialization. </p> |
| <p>See class <a class="el" href="classXSLTInit.html">XSLTInit</a>. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a10de20ad6efbda6f4ea0bfa3c3d3d68f"></a><!-- doxytag: member="ElemNumber::int2alphaCount" ref="a10de20ad6efbda6f4ea0bfa3c3d3d68f" args="(CountType val, const XalanDOMChar table[], XalanDOMString::size_type length, XalanDOMString &theResult)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static void ElemNumber::int2alphaCount </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> </td> |
| <td class="paramname"> <em>val</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const XalanDOMChar </td> |
| <td class="paramname"> <em>table</em>[], </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">XalanDOMString::size_type</a> </td> |
| <td class="paramname"> <em>length</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theResult</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static, protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Convert an integral into alphabetic counting, in other words count using the sequence A B C ... </p> |
| <p>Z AA AB AC.... etc. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>Value to convert -- must be greater than zero. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>table</em> </td><td>a table containing one character for each digit in the radix </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>length</em> </td><td>the table length </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>result</em> </td><td>returns the stringrepresenting alpha count of number. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="see"><dt><b>See also:</b></dt><dd>XSLTEngineImpl::DecimalToRoman</dd></dl> |
| <p>Note that the radix of the conversion is inferred from the size of the table. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a8ea5c7befeacfbc2eeb4096514833f17"></a><!-- doxytag: member="ElemNumber::int2singlealphaCount" ref="a8ea5c7befeacfbc2eeb4096514833f17" args="(CountType val, const XalanDOMString &table, XalanDOMString &theResult)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static void ElemNumber::int2singlealphaCount </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> </td> |
| <td class="paramname"> <em>val</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>table</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theResult</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static, protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Convert an intergral into alphabetic counting, in other words count using the sequence A B C ... </p> |
| <p>Z. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>Value to convert -- must be greater than zero. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>table</em> </td><td>a table containing one character for each digit in the radix </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theResult</em> </td><td>A string representing alpha count of number. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="see"><dt><b>See also:</b></dt><dd>XSLTEngineImpl::DecimalToRoman</dd></dl> |
| <p>Note that the radix of the conversion is inferred from the size of the table. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a9321b50eb9d41bfd5e191bbc1390d34b"></a><!-- doxytag: member="ElemNumber::startElement" ref="a9321b50eb9d41bfd5e191bbc1390d34b" args="(StylesheetExecutionContext &executionContext) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a>* ElemNumber::startElement </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & </td> |
| <td class="paramname"> <em>executionContext</em></td> |
| <td> ) </td> |
| <td> const<code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Completes "pre-processing" before any sub-elements are invoked (i.e. </p> |
| <p>children, attribute sets and templates). If there are no sub-elements it executes the primary function of the element.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>executionContext</em> </td><td>context to execute this element </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Reimplemented from <a class="el" href="classElemTemplateElement.html#a07944df95cd470ad8b3283f307bb9caf">ElemTemplateElement</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a62f7ccb8f244ca8e3243285667ef2517"></a><!-- doxytag: member="ElemNumber::terminate" ref="a62f7ccb8f244ca8e3243285667ef2517" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static void ElemNumber::terminate </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Perform static shut down. </p> |
| <p>See class <a class="el" href="classXSLTInit.html">XSLTInit</a>. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a2e71d2741520bcc65d2203c0564e620b"></a><!-- doxytag: member="ElemNumber::toRoman" ref="a2e71d2741520bcc65d2203c0564e620b" args="(CountType val, bool prefixesAreOK, XalanDOMString &theResult)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static void ElemNumber::toRoman </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classElemNumber.html#a8d44cd95050bec8e2fa3beb772c8d3d5">CountType</a> </td> |
| <td class="paramname"> <em>val</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"> <em>prefixesAreOK</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theResult</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static, protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Convert an integral into roman numerals. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>Value to convert. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>prefixesAreOK</em> </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"></td><td valign="top"><em>theResult</em> </td><td>The formatted Roman numeral string. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structDecimalToRoman.html" title="Structure to help in converting integrals to roman numerals.">DecimalToRoman</a> </dd> |
| <dd> |
| m_romanConvertTable </dd></dl> |
| |
| </div> |
| </div> |
| <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></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 © 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> |