| <!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="#pub-methods">Public Member Functions</a> | |
| <a href="#pub-static-methods">Static Public Member Functions</a> </div> |
| <div class="headertitle"> |
| <h1>XPathConstructionContextDefault Class Reference</h1> </div> |
| </div> |
| <div class="contents"> |
| <!-- doxytag: class="XPathConstructionContextDefault" --><!-- doxytag: inherits="XPathConstructionContext" --> |
| <p>An default implementation of an abtract class which provides support for constructing the internal representation of an <a class="el" href="classXPath.html">XPath</a>. |
| <a href="#_details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="XPathConstructionContextDefault_8hpp_source.html">XPathConstructionContextDefault.hpp</a>></code></p> |
| |
| <p>Inherits <a class="el" href="classXPathConstructionContext.html">XPathConstructionContext</a>.</p> |
| <div class="dynheader"> |
| Collaboration diagram for XPathConstructionContextDefault:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="classXPathConstructionContextDefault__coll__graph.png" border="0" usemap="#XPathConstructionContextDefault_coll__map" alt="Collaboration graph"/></div> |
| <map name="XPathConstructionContextDefault_coll__map" id="XPathConstructionContextDefault_coll__map"> |
| <area shape="rect" id="node2" href="classXPathConstructionContext.html" title="XPathConstructionContext" alt="" coords="5531,443,5723,472"/><area shape="rect" id="node4" href="classProblemListenerBase.html" title="This is the abstract class that is used when reporting a problem some kind, that requires a message..." alt="" coords="5192,440,5349,469"/><area shape="rect" id="node6" href="classXalanDOMStringCache.html" title="XalanDOMStringCache" alt="" coords="4411,496,4579,525"/><area shape="rect" id="node8" href="classXalanDOMStringReusableAllocator.html" title="XalanDOMStringReusableAllocator" alt="" coords="3953,572,4196,601"/><area shape="rect" id="node10" href="classReusableArenaAllocator.html" title="ReusableArenaAllocator\< data_type \>" alt="" coords="3331,587,3597,616"/><area shape="rect" id="node12" href="classArenaAllocator.html" title="ArenaAllocator\< data_type, ReusableArenaBlock\< data_type \> \>" alt="" coords="2549,612,2992,641"/><area shape="rect" id="node14" href="classXalanList.html" title="XalanList\< ReusableArenaBlock\< data_type \> * \>" alt="" coords="1003,76,1349,105"/><area shape="rect" id="node16" href="structXalanList_1_1Node.html" title="XalanList\< Type \>::Node" alt="" coords="44,80,225,109"/><area shape="rect" id="node57" href="classXalanList.html" title="XalanList\< Entry \>" alt="" coords="633,665,777,695"/><area shape="rect" id="node164" href="classXalanList.html" title="XalanList\< ArenaBlock\< data_type \> * \>" alt="" coords="3629,93,3917,123"/><area shape="rect" id="node19" href="classReusableArenaBlock.html" title="ReusableArenaBlock\< data_type \>" alt="" coords="2049,1287,2295,1316"/><area shape="rect" id="node21" href="classArenaBlockBase.html" title="ArenaBlockBase\< data_type, unsigned short \>" alt="" coords="1431,1349,1753,1379"/><area shape="rect" id="node23" href="classXalanAllocator.html" title="XalanAllocator\< data_type \>" alt="" coords="601,1692,809,1721"/><area shape="rect" id="node39" href="classArenaBlockBase.html" title="ArenaBlockBase\< data_type, size_t \>" alt="" coords="3943,1821,4207,1851"/><area shape="rect" id="node25" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="641,1473,769,1503"/><area shape="rect" id="node31" href="classXalanDOMStringPool.html" title="XalanDOMStringPool" alt="" coords="5549,592,5704,621"/><area shape="rect" id="node43" href="classElemTemplateElement.html" title="ElemTemplateElement" alt="" coords="2688,1440,2853,1469"/><area shape="rect" id="node67" href="classXalanQNameByReference.html" title="XalanQNameByReference" alt="" coords="2079,1480,2265,1509"/><area shape="rect" id="node69" href="classXalanQName.html" title="Class to represent a qualified name." alt="" coords="1539,1536,1645,1565"/><area shape="rect" id="node73" href="classElemTemplateElement_1_1LocatorProxy.html" title="ElemTemplateElement::LocatorProxy" alt="" coords="1464,1592,1720,1621"/><area shape="rect" id="node82" href="classXPath.html" title="XPath" alt="" coords="2141,1911,2203,1940"/><area shape="rect" id="node90" href="classXPathExpression.html" title="XPathExpression" alt="" coords="1527,2088,1657,2117"/><area shape="rect" id="node102" href="classStylesheet.html" title="This class represents the base stylesheet or an "import" stylesheet." alt="" coords="4029,1205,4120,1235"/><area shape="rect" id="node131" 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="4436,1145,4553,1175"/><area shape="rect" id="node157" href="classXalanNamespace.html" title="XalanNamespace" alt="" coords="1861,1677,1997,1707"/><area shape="rect" id="node27" href="classXalanVector.html" title="XalanVector\< XalanDOMChar \>" alt="" coords="21,1473,248,1503"/><area shape="rect" id="node29" href="classXalanVector.html" title="XalanVector\< XalanDOMString * \>" alt="" coords="3952,360,4197,389"/><area shape="rect" id="node33" href="classXalanDOMStringAllocator.html" title="XalanDOMStringAllocator" alt="" coords="5179,559,5363,588"/><area shape="rect" id="node35" href="classArenaAllocator.html" title="ArenaAllocator\< data_type \>" alt="" coords="4779,559,4989,588"/><area shape="rect" id="node37" href="classArenaBlock.html" title="ArenaBlock\< data_type \>" alt="" coords="4401,1487,4588,1516"/><area shape="rect" id="node41" href="classElemValueOf.html" title="ElemValueOf" alt="" coords="3413,1821,3515,1851"/><area shape="rect" id="node64" href="classElemTextLiteral.html" title="ElemTextLiteral" alt="" coords="3405,1412,3523,1441"/><area shape="rect" id="node79" href="classElemTemplate.html" title="ElemTemplate" alt="" coords="3408,1531,3520,1560"/><area shape="rect" id="node45" href="classPrefixResolver.html" title="This class defines an interface for classes that resolve namespace prefixes to their URIs..." alt="" coords="2117,1657,2227,1687"/><area shape="rect" id="node47" href="classNamespacesHandler.html" title="NamespacesHandler" alt="" coords="2095,1163,2249,1192"/><area shape="rect" id="node49" href="classXalanVector.html" title="XalanVector\< Namespace \>" alt="" coords="1489,1123,1695,1152"/><area shape="rect" id="node51" href="classXalanMap.html" title="XalanMap\< const XalanDOMString *, const XalanDOMString * \>" alt="" coords="1375,797,1809,827"/><area shape="rect" id="node53" href="classXalanVector.html" title="XalanVector\< BucketType, ConstructWithMemoryManagerTraits\< BucketType \> \>" alt="" coords="433,472,977,501"/><area shape="rect" id="node105" href="classXalanMap.html" title="XalanMap\< XalanDOMString, ExtensionNSHandler * \>" alt="" coords="1407,467,1777,496"/><area shape="rect" id="node119" href="classXalanMap.html" title="XalanMap\< XalanDOMString, PatternTableVectorType \>" alt="" coords="1403,525,1781,555"/><area shape="rect" id="node134" href="classXalanMap.html" title="XalanMap\< const XalanQName *, AttributeSetVectorType \>" alt="" coords="1388,412,1796,441"/><area shape="rect" id="node145" href="classXalanMap.html" title="XalanMap\< XalanQNameByReference, const ElemTemplate * \>" alt="" coords="1377,892,1807,921"/><area shape="rect" id="node55" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_01_4.html" title="XalanMapKeyTraits\< const XalanDOMString * \>" alt="" coords="541,829,869,859"/><area shape="rect" id="node60" href="classXalanVector.html" title="XalanVector\< const XalanDOMString * \>" alt="" coords="1449,1176,1735,1205"/><area shape="rect" id="node62" href="classXalanVector.html" title="XalanVector\< NamespaceExtended \>" alt="" coords="1459,1229,1725,1259"/><area shape="rect" id="node75" href="classXalanLocator.html" title="This class defines a base class for Locator derivations in Xalan." alt="" coords="652,1745,759,1775"/><area shape="rect" id="node84" href="classXPathFunctionTable.html" title="Class defines a table of functions that can be called in XPath expresions." alt="" coords="1519,1932,1665,1961"/><area shape="rect" id="node86" href="classFunction.html" title="Function" alt="" coords="668,2035,743,2064"/><area shape="rect" id="node88" href="structXPathFunctionTable_1_1FunctionNameTableEntry.html" title="XPathFunctionTable::FunctionNameTableEntry" alt="" coords="548,1924,863,1953"/><area shape="rect" id="node92" href="classXalanVector.html" title="XalanVector\< XToken \>" alt="" coords="617,2195,793,2224"/><area shape="rect" id="node94" href="classXalanVector.html" title="XalanVector\< int \>" alt="" coords="632,2088,779,2117"/><area shape="rect" id="node96" href="classXalanVector.html" title="XalanVector\< double \>" alt="" coords="619,2141,792,2171"/><area shape="rect" id="node109" href="structXalanMapKeyTraits_3_01XalanDOMString_01_4.html" title="XalanMapKeyTraits\< XalanDOMString \>" alt="" coords="567,308,844,337"/><area shape="rect" id="node112" href="classXalanVector.html" title="XalanVector\< Stylesheet * \>" alt="" coords="3360,940,3568,969"/><area shape="rect" id="node114" href="classXalanVector.html" title="XalanVector\< ElemVariable * \>" alt="" coords="3352,993,3576,1023"/><area shape="rect" id="node117" href="classXalanVector.html" title="XalanVector\< XalanSpaceNodeTester \>" alt="" coords="3324,1097,3604,1127"/><area shape="rect" id="node124" href="classXalanVector.html" title="XalanVector\< Type, ConstructionTraits \>" alt="" coords="3323,1201,3605,1231"/><area shape="rect" id="node126" href="classXalanVector.html" title="XalanVector\< XalanDOMString \>" alt="" coords="3347,1255,3581,1284"/><area shape="rect" id="node129" href="classXalanVector.html" title="XalanVector\< ElemDecimalFormat * \>" alt="" coords="3329,1308,3599,1337"/><area shape="rect" id="node136" href="structXalanMapKeyTraits_3_01const_01XalanQName_01_5_01_4.html" title="XalanMapKeyTraits\< const XalanQName * \>" alt="" coords="551,132,860,161"/><area shape="rect" id="node142" href="classXalanVector.html" title="XalanVector\< const XalanQName * \>" alt="" coords="3941,1124,4208,1153"/><area shape="rect" id="node148" href="structXalanMapKeyTraits_3_01XalanQNameByReference_01_4.html" title="XalanMapKeyTraits\< XalanQNameByReference \>" alt="" coords="536,960,875,989"/><area shape="rect" id="node150" href="structXalanMapKeyTraits_3_01XalanQName_01_4.html" title="XalanMapKeyTraits\< XalanQName \>" alt="" coords="5,960,264,989"/><area shape="rect" id="node153" href="classXalanDeque.html" title="Xalan implementation of deque." alt="" coords="3016,1776,3299,1805"/><area shape="rect" id="node155" href="classXalanVector.html" title="XalanVector\< BlockType * \>" alt="" coords="2321,1771,2524,1800"/><area shape="rect" id="node160" href="classXalanVector.html" title="XalanVector\< KeyDeclaration \>" alt="" coords="3351,1685,3577,1715"/><area shape="rect" id="node167" href="classXalanDOMStringHashTable.html" title="XalanDOMStringHashTable" alt="" coords="5173,612,5368,641"/><area shape="rect" id="node169" href="classXalanVector.html" title="XalanVector\< BucketType, ConstructionTraits \>" alt="" coords="4721,612,5047,641"/></map> |
| <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> |
| |
| <p><a href="classXPathConstructionContextDefault-members.html">List of all members.</a></p> |
| <h2><a name="pub-methods"></a> |
| Public Member Functions</h2> |
| <ul> |
| <li><a class="el" href="classXPathConstructionContextDefault.html#a9b8e1e9e9ff135d45df13993781868b5">XPathConstructionContextDefault</a> (MemoryManager &theManager=XalanMemMgrs::getDefaultXercesMemMgr()) |
| <li>virtual <a class="el" href="classXPathConstructionContextDefault.html#a114218f47c51d73209d93e4ffcdc5dd5">~XPathConstructionContextDefault</a> () |
| <li>virtual void <a class="el" href="classXPathConstructionContextDefault.html#add60e481581bd94f0af280d3e2abdf63">problem</a> (<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> source, <a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a> classification, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &msg, const Locator *locator, const <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode) |
| <dl class="el"><dd class="mdescRight"><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. <a href="#add60e481581bd94f0af280d3e2abdf63"></a><br/></dl><li>virtual void <a class="el" href="classXPathConstructionContextDefault.html#ac306a9b3157757353716caffd80bf918">problem</a> (<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> source, <a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a> classification, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &msg, const <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode) |
| <dl class="el"><dd class="mdescRight"><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. <a href="#ac306a9b3157757353716caffd80bf918"></a><br/></dl><li>virtual void <a class="el" href="classXPathConstructionContextDefault.html#a760186e55e647903214a442cda3c856d">reset</a> () |
| <dl class="el"><dd class="mdescRight">Reset the instance. <a href="#a760186e55e647903214a442cda3c856d"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <a class="el" href="classXPathConstructionContextDefault.html#aaae4dedd5221f3449c93a620180ae47b">getPooledString</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theString) |
| <dl class="el"><dd class="mdescRight">Get a pooled string given the source string. <a href="#aaae4dedd5221f3449c93a620180ae47b"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <a class="el" href="classXPathConstructionContextDefault.html#a9face462de88331d3caa7506e1e04412">getPooledString</a> (const XalanDOMChar *theString, <a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">XalanDOMString::size_type</a> theLength=XalanDOMString::npos) |
| <dl class="el"><dd class="mdescRight">Get a pooled string given the source character array. <a href="#a9face462de88331d3caa7506e1e04412"></a><br/></dl><li>virtual <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <a class="el" href="classXPathConstructionContextDefault.html#a37e7c319ff13993128ce8408950a702e">getCachedString</a> () |
| <dl class="el"><dd class="mdescRight">Get a cached string for temporary use. <a href="#a37e7c319ff13993128ce8408950a702e"></a><br/></dl><li>virtual bool <a class="el" href="classXPathConstructionContextDefault.html#a6b6b786ff00c63acd3576ad1abd9f6cb">releaseCachedString</a> (<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theString) |
| <dl class="el"><dd class="mdescRight">Return a cached string. <a href="#a6b6b786ff00c63acd3576ad1abd9f6cb"></a><br/></dl></ul> |
| <h2><a name="pub-static-methods"></a> |
| Static Public Member Functions</h2> |
| <ul> |
| <li>static <br class="typebreak"/> |
| <a class="el" href="classXPathConstructionContextDefault.html">XPathConstructionContextDefault</a> * <a class="el" href="classXPathConstructionContextDefault.html#abd40a53bbe8f4308c5901aaa2fff0f7b">create</a> (MemoryManager &theManager) |
| </ul> |
| <hr/><a name="_details"></a><h2>Detailed Description</h2> |
| <p>An default implementation of an abtract class which provides support for constructing the internal representation of an <a class="el" href="classXPath.html">XPath</a>. </p> |
| |
| <p>Definition at line <a class="el" href="XPathConstructionContextDefault_8hpp_source.html#l00048">48</a> of file <a class="el" href="XPathConstructionContextDefault_8hpp_source.html">XPathConstructionContextDefault.hpp</a>.</p> |
| <hr/><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="a9b8e1e9e9ff135d45df13993781868b5"></a><!-- doxytag: member="XPathConstructionContextDefault::XPathConstructionContextDefault" ref="a9b8e1e9e9ff135d45df13993781868b5" args="(MemoryManager &theManager=XalanMemMgrs::getDefaultXercesMemMgr())" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">XPathConstructionContextDefault::XPathConstructionContextDefault </td> |
| <td>(</td> |
| <td class="paramtype">MemoryManager & </td> |
| <td class="paramname"> <em>theManager</em> = <code>XalanMemMgrs::getDefaultXercesMemMgr()</code></td> |
| <td> ) </td> |
| <td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a114218f47c51d73209d93e4ffcdc5dd5"></a><!-- doxytag: member="XPathConstructionContextDefault::~XPathConstructionContextDefault" ref="a114218f47c51d73209d93e4ffcdc5dd5" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual XPathConstructionContextDefault::~XPathConstructionContextDefault </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="abd40a53bbe8f4308c5901aaa2fff0f7b"></a><!-- doxytag: member="XPathConstructionContextDefault::create" ref="abd40a53bbe8f4308c5901aaa2fff0f7b" args="(MemoryManager &theManager)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static <a class="el" href="classXPathConstructionContextDefault.html">XPathConstructionContextDefault</a>* XPathConstructionContextDefault::create </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"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a37e7c319ff13993128ce8408950a702e"></a><!-- doxytag: member="XPathConstructionContextDefault::getCachedString" ref="a37e7c319ff13993128ce8408950a702e" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="classXalanDOMString.html">XalanDOMString</a>& XPathConstructionContextDefault::getCachedString </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get a cached string for temporary use. </p> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>A reference to the string </dd></dl> |
| |
| <p>Implements <a class="el" href="classXPathConstructionContext.html#a26ef1b476102eb6bcd76e7285686a034">XPathConstructionContext</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aaae4dedd5221f3449c93a620180ae47b"></a><!-- doxytag: member="XPathConstructionContextDefault::getPooledString" ref="aaae4dedd5221f3449c93a620180ae47b" args="(const XalanDOMString &theString)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>& XPathConstructionContextDefault::getPooledString </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theString</em></td> |
| <td> ) </td> |
| <td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get a pooled string given the source string. </p> |
| <p>If the string already exists in the pool, no copy will be made. If not, a copy will be made and kept for later use.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theString</em> </td><td>The source string </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>a const reference to a pooled string. </dd></dl> |
| |
| <p>Implements <a class="el" href="classXPathConstructionContext.html#a70f01067b9fa01e48caf763506b722f7">XPathConstructionContext</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a9face462de88331d3caa7506e1e04412"></a><!-- doxytag: member="XPathConstructionContextDefault::getPooledString" ref="a9face462de88331d3caa7506e1e04412" args="(const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>& XPathConstructionContextDefault::getPooledString </td> |
| <td>(</td> |
| <td class="paramtype">const XalanDOMChar * </td> |
| <td class="paramname"> <em>theString</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>theLength</em> = <code>XalanDOMString::npos</code></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get a pooled string given the source character array. </p> |
| <p>If the string already exists in the pool, no copy will be made. If not, a copy will be made and kept for later use.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theString</em> </td><td>The source character array </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theLength</em> </td><td>The length of the character array </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>a const reference to a pooled string. </dd></dl> |
| |
| <p>Implements <a class="el" href="classXPathConstructionContext.html#ae2fb1871d42e56f62029817773837ffc">XPathConstructionContext</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="add60e481581bd94f0af280d3e2abdf63"></a><!-- doxytag: member="XPathConstructionContextDefault::problem" ref="add60e481581bd94f0af280d3e2abdf63" args="(eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void XPathConstructionContextDefault::problem </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> </td> |
| <td class="paramname"> <em>source</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a> </td> |
| <td class="paramname"> <em>classification</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>msg</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const Locator * </td> |
| <td class="paramname"> <em>locator</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <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><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>source</em> </td><td>Either eXMLParser, eXSLProcessor, or eXPATH. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>classification</em> </td><td>Either eMessage, eWarning, or eError. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>locator</em> </td><td>The current Locator instance for the stylesheet. Maybe be a null pointer. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>sourceNode</em> </td><td>The current source node, if any. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>msg</em> </td><td>The error message. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="classXPathConstructionContext.html#a645491db235711f6bef207c1d17579ef">XPathConstructionContext</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac306a9b3157757353716caffd80bf918"></a><!-- doxytag: member="XPathConstructionContextDefault::problem" ref="ac306a9b3157757353716caffd80bf918" args="(eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void XPathConstructionContextDefault::problem </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> </td> |
| <td class="paramname"> <em>source</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a> </td> |
| <td class="paramname"> <em>classification</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>msg</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <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><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. </p> |
| <p>This version assumes location information is already formatted into the message.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>source</em> </td><td>either eXMLPARSER, eXSLPROCESSOR, or eXPATH </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>classification</em> </td><td>either eMESSAGE, eERROR or eWARNING </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>msg</em> </td><td>string message explaining the problem. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="classXPathConstructionContext.html#aae1690ebe9324ab6ba58f2232602dbda">XPathConstructionContext</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a6b6b786ff00c63acd3576ad1abd9f6cb"></a><!-- doxytag: member="XPathConstructionContextDefault::releaseCachedString" ref="a6b6b786ff00c63acd3576ad1abd9f6cb" args="(XalanDOMString &theString)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual bool XPathConstructionContextDefault::releaseCachedString </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theString</em></td> |
| <td> ) </td> |
| <td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Return a cached 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>theString</em> </td><td>The string to release.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if the string was released successfully. </dd></dl> |
| |
| <p>Implements <a class="el" href="classXPathConstructionContext.html#a2728230a39604e1c8b5052642f786709">XPathConstructionContext</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a760186e55e647903214a442cda3c856d"></a><!-- doxytag: member="XPathConstructionContextDefault::reset" ref="a760186e55e647903214a442cda3c856d" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void XPathConstructionContextDefault::reset </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Reset the instance. </p> |
| <p>Any existing objects created by the instance will be destroyed. </p> |
| |
| <p>Implements <a class="el" href="classXPathConstructionContext.html#aa8ae8ed14bdbb714f5bdd3e7ef6ed222">XPathConstructionContext</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="XPathConstructionContextDefault_8hpp_source.html">XPathConstructionContextDefault.hpp</a></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> |