blob: ab6e241eb9ed15d3754dad926947aab79c0c09b1 [file] [log] [blame]
<!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&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle">
<h1>ElemVariable Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="ElemVariable" --><!-- doxytag: inherits="ElemTemplateElement" -->
<p><code>#include &lt;<a class="el" href="ElemVariable_8hpp_source.html">ElemVariable.hpp</a>&gt;</code></p>
<p>Inherits <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a>.</p>
<p>Inherited by <a class="el" href="classElemParam.html">ElemParam</a>.</p>
<div class="dynheader">
Collaboration diagram for ElemVariable:</div>
<div class="dyncontent">
<div class="center"><img src="classElemVariable__coll__graph.png" border="0" usemap="#ElemVariable_coll__map" alt="Collaboration graph"/></div>
<map name="ElemVariable_coll__map" id="ElemVariable_coll__map">
<area shape="rect" id="node2" href="classElemTemplateElement.html" title="ElemTemplateElement" alt="" coords="2289,956,2455,985"/><area shape="rect" id="node25" href="classElemTextLiteral.html" title="ElemTextLiteral" alt="" coords="2869,819,2987,848"/><area shape="rect" id="node43" href="classElemTemplate.html" title="ElemTemplate" alt="" coords="2872,925,2984,955"/><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="3748,1099,3865,1128"/><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="1928,1075,2037,1104"/><area shape="rect" id="node66" href="classStylesheet.html" title="This class represents the base stylesheet or an &quot;import&quot; stylesheet." alt="" coords="3376,1097,3467,1127"/><area shape="rect" id="node6" href="classNamespacesHandler.html" title="NamespacesHandler" alt="" coords="1905,1205,2060,1235"/><area shape="rect" id="node8" href="classXalanVector.html" title="XalanVector\&lt; Namespace \&gt;" alt="" coords="1321,1125,1527,1155"/><area shape="rect" id="node10" href="classXalanMap.html" title="XalanMap\&lt; const XalanDOMString *, const XalanDOMString * \&gt;" alt="" coords="1207,1285,1641,1315"/><area shape="rect" id="node12" href="classXalanVector.html" title="XalanVector\&lt; BucketType, ConstructWithMemoryManagerTraits\&lt; BucketType \&gt; \&gt;" alt="" coords="433,1512,977,1541"/><area shape="rect" id="node69" href="classXalanMap.html" title="XalanMap\&lt; XalanDOMString, ExtensionNSHandler * \&gt;" alt="" coords="1239,1689,1609,1719"/><area shape="rect" id="node83" href="classXalanMap.html" title="XalanMap\&lt; XalanDOMString, PatternTableVectorType \&gt;" alt="" coords="1235,1569,1613,1599"/><area shape="rect" id="node98" href="classXalanMap.html" title="XalanMap\&lt; const XalanQName *, AttributeSetVectorType \&gt;" alt="" coords="1220,1903,1628,1932"/><area shape="rect" id="node109" href="classXalanMap.html" title="XalanMap\&lt; XalanQNameByReference, const ElemTemplate * \&gt;" alt="" coords="1209,1369,1639,1399"/><area shape="rect" id="node14" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_01_4.html" title="XalanMapKeyTraits\&lt; const XalanDOMString * \&gt;" alt="" coords="541,1172,869,1201"/><area shape="rect" id="node16" href="classXalanList.html" title="XalanList\&lt; Entry \&gt;" alt="" coords="633,1625,777,1655"/><area shape="rect" id="node18" href="structXalanList_1_1Node.html" title="XalanList\&lt; Type \&gt;::Node" alt="" coords="44,1625,225,1655"/><area shape="rect" id="node21" href="classXalanVector.html" title="XalanVector\&lt; const XalanDOMString * \&gt;" alt="" coords="1281,1179,1567,1208"/><area shape="rect" id="node23" href="classXalanVector.html" title="XalanVector\&lt; NamespaceExtended \&gt;" alt="" coords="1291,1232,1557,1261"/><area shape="rect" id="node28" href="classXalanQNameByReference.html" title="XalanQNameByReference" alt="" coords="1889,608,2076,637"/><area shape="rect" id="node30" href="classXalanQName.html" title="Class to represent a qualified name." alt="" coords="1371,540,1477,569"/><area shape="rect" id="node32" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="641,631,769,660"/><area shape="rect" id="node37" href="classElemTemplateElement_1_1LocatorProxy.html" title="ElemTemplateElement::LocatorProxy" alt="" coords="1296,1015,1552,1044"/><area shape="rect" id="node46" href="classXPath.html" title="XPath" alt="" coords="1952,781,2013,811"/><area shape="rect" id="node54" href="classXPathExpression.html" title="XPathExpression" alt="" coords="1359,847,1489,876"/><area shape="rect" id="node121" href="classXalanNamespace.html" title="XalanNamespace" alt="" coords="1356,385,1492,415"/><area shape="rect" id="node128" href="classXObject.html" title="Class to hold XPath return types." alt="" coords="1388,140,1460,169"/><area shape="rect" id="node34" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="21,631,248,660"/><area shape="rect" id="node39" href="classXalanLocator.html" title="This class defines a base class for Locator derivations in Xalan." alt="" coords="652,1117,759,1147"/><area shape="rect" id="node48" href="classXPathFunctionTable.html" title="Class defines a table of functions that can be called in XPath expresions." alt="" coords="1351,961,1497,991"/><area shape="rect" id="node50" href="classFunction.html" title="Function" alt="" coords="668,1064,743,1093"/><area shape="rect" id="node52" href="structXPathFunctionTable_1_1FunctionNameTableEntry.html" title="XPathFunctionTable::FunctionNameTableEntry" alt="" coords="548,1008,863,1037"/><area shape="rect" id="node56" href="classXalanVector.html" title="XalanVector\&lt; XToken \&gt;" alt="" coords="617,948,793,977"/><area shape="rect" id="node58" href="classXalanVector.html" title="XalanVector\&lt; int \&gt;" alt="" coords="632,841,779,871"/><area shape="rect" id="node60" href="classXalanVector.html" title="XalanVector\&lt; double \&gt;" alt="" coords="619,895,792,924"/><area shape="rect" id="node73" href="structXalanMapKeyTraits_3_01XalanDOMString_01_4.html" title="XalanMapKeyTraits\&lt; XalanDOMString \&gt;" alt="" coords="567,1756,844,1785"/><area shape="rect" id="node76" href="classXalanVector.html" title="XalanVector\&lt; Stylesheet * \&gt;" alt="" coords="2824,1097,3032,1127"/><area shape="rect" id="node78" href="classXalanVector.html" title="XalanVector\&lt; ElemVariable * \&gt;" alt="" coords="2816,1252,3040,1281"/><area shape="rect" id="node81" href="classXalanVector.html" title="XalanVector\&lt; XalanSpaceNodeTester \&gt;" alt="" coords="2788,1525,3068,1555"/><area shape="rect" id="node88" href="classXalanVector.html" title="XalanVector\&lt; Type, ConstructionTraits \&gt;" alt="" coords="2787,715,3069,744"/><area shape="rect" id="node90" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMString \&gt;" alt="" coords="2811,1356,3045,1385"/><area shape="rect" id="node93" href="classXalanVector.html" title="XalanVector\&lt; ElemDecimalFormat * \&gt;" alt="" coords="2793,979,3063,1008"/><area shape="rect" id="node100" href="structXalanMapKeyTraits_3_01const_01XalanQName_01_5_01_4.html" title="XalanMapKeyTraits\&lt; const XalanQName * \&gt;" alt="" coords="551,2000,860,2029"/><area shape="rect" id="node106" href="classXalanVector.html" title="XalanVector\&lt; const XalanQName * \&gt;" alt="" coords="3288,1629,3555,1659"/><area shape="rect" id="node112" href="structXalanMapKeyTraits_3_01XalanQNameByReference_01_4.html" title="XalanMapKeyTraits\&lt; XalanQNameByReference \&gt;" alt="" coords="536,1237,875,1267"/><area shape="rect" id="node114" href="structXalanMapKeyTraits_3_01XalanQName_01_4.html" title="XalanMapKeyTraits\&lt; XalanQName \&gt;" alt="" coords="5,1237,264,1267"/><area shape="rect" id="node117" href="classXalanDeque.html" title="Xalan implementation of deque." alt="" coords="2480,339,2763,368"/><area shape="rect" id="node119" href="classXalanVector.html" title="XalanVector\&lt; BlockType * \&gt;" alt="" coords="1881,359,2084,388"/><area shape="rect" id="node124" href="classXalanVector.html" title="XalanVector\&lt; KeyDeclaration \&gt;" alt="" coords="2815,872,3041,901"/><area shape="rect" id="node126" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types." alt="" coords="2141,433,2232,463"/><area shape="rect" id="node130" href="classXalanReferenceCountedObject.html" title="Class to hold reference count information." alt="" coords="596,5,815,35"/><area shape="rect" id="node132" href="classXObjectFactory.html" title="This class handles the creation of XObjects and manages their lifetime." alt="" coords="647,59,764,88"/><area shape="rect" id="node136" href="classXalanNode.html" title="XalanNode" alt="" coords="2325,385,2419,415"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classElemVariable-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> <a class="el" href="classElemVariable.html#a4b22e9a18c30f439ca552efab98a19a5">ParentType</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classElemVariable.html#a0ce7206294739fb812f4046e47ccc011">ElemVariable</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="classStylesheet.html">Stylesheet</a> &amp;stylesheetTree, const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> &amp;atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber)
<dl class="el"><dd class="mdescRight">Construct an object corresponding to an "xsl:variable" element. <a href="#a0ce7206294739fb812f4046e47ccc011"></a><br/></dl><li>virtual <a class="el" href="classElemVariable.html#a8096af082948888f605ea2bd07d4cfa3">~ElemVariable</a> ()
<li>bool <a class="el" href="classElemVariable.html#a55d0eccd1f342148ab43f98b64c1c766">isTopLevel</a> () const
<dl class="el"><dd class="mdescRight">Determines if this is a top level variable. <a href="#a55d0eccd1f342148ab43f98b64c1c766"></a><br/></dl><li>virtual const <a class="el" href="classXalanQName.html">XalanQName</a> &amp; <a class="el" href="classElemVariable.html#a6e7fc33b9b31892a29fd82d78c2d2d43">getNameAttribute</a> () const
<dl class="el"><dd class="mdescRight">Get the QName associated with any name attribute of this element. <a href="#a6e7fc33b9b31892a29fd82d78c2d2d43"></a><br/></dl><li>virtual void <a class="el" href="classElemVariable.html#a94d5b9ff38d46089dfd3cf3a2dade459">addToStylesheet</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="classStylesheet.html">Stylesheet</a> &amp;theStylesheet)
<dl class="el"><dd class="mdescRight">Called during compilation when an instance is not parented by another element, and thus, is a child of the stylesheet. <a href="#a94d5b9ff38d46089dfd3cf3a2dade459"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classElemVariable.html#adab7b8188c510ab51e8b6fa7ded346ad">getElementName</a> () const
<dl class="el"><dd class="mdescRight">Get a string for the name of the element. <a href="#adab7b8188c510ab51e8b6fa7ded346ad"></a><br/></dl><li>const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> * <a class="el" href="classElemVariable.html#a29f7601a3db8e8012b5ffa18e04d6a56">startElement</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Completes "pre-processing" before any sub-elements are invoked (i.e. <a href="#a29f7601a3db8e8012b5ffa18e04d6a56"></a><br/></dl><li>void <a class="el" href="classElemVariable.html#aa90b2aff1dca8eda4d753033fbf437f8">endElement</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Completes "post-processing" afer any sub-elements are invoked (i.e. <a href="#aa90b2aff1dca8eda4d753033fbf437f8"></a><br/></dl><li>const <a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classElemVariable.html#aaf6bca41b0302ccf69a1da37b248ca9c">getValue</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode) const
<li>virtual void <a class="el" href="classElemVariable.html#a7a6d95fe6d7e9edfb8b7db614d0285a4">setParentNodeElem</a> (<a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> *theParent)
<dl class="el"><dd class="mdescRight">Set the parent node. <a href="#a7a6d95fe6d7e9edfb8b7db614d0285a4"></a><br/></dl><li>virtual const <a class="el" href="classXPath.html">XPath</a> * <a class="el" href="classElemVariable.html#a7d1ae441c8001430cf0adb2a32fc8261">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="#a7d1ae441c8001430cf0adb2a32fc8261"></a><br/></dl></ul>
<h2><a name="pro-methods"></a>
Protected Member Functions</h2>
<ul>
<li><a class="el" href="classElemVariable.html#a613d6e8188c6cff0c854528128497b14">ElemVariable</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="classStylesheet.html">Stylesheet</a> &amp;stylesheetTree, const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> &amp;atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber, int xslToken)
<dl class="el"><dd class="mdescRight">Construct an object corresponding to an "xsl:variable" element. <a href="#a613d6e8188c6cff0c854528128497b14"></a><br/></dl><li>void <a class="el" href="classElemVariable.html#a229b4924030ad2d4fb70783ebb24edaa">init</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="classStylesheet.html">Stylesheet</a> &amp;stylesheetTree, const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> &amp;atts)
<dl class="el"><dd class="mdescRight">Do common initialization. <a href="#a229b4924030ad2d4fb70783ebb24edaa"></a><br/></dl></ul>
<h2><a name="pro-attribs"></a>
Protected Attributes</h2>
<ul>
<li>const <a class="el" href="classXalanQName.html">XalanQName</a> * <a class="el" href="classElemVariable.html#a3639efe7071d8ee5a790a01213c4e781">m_qname</a>
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="ElemVariable_8hpp_source.html#l00047">47</a> of file <a class="el" href="ElemVariable_8hpp_source.html">ElemVariable.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a4b22e9a18c30f439ca552efab98a19a5"></a><!-- doxytag: member="ElemVariable::ParentType" ref="a4b22e9a18c30f439ca552efab98a19a5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> <a class="el" href="classElemTemplateElement.html">ElemVariable::ParentType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="ElemVariable_8hpp_source.html#l00051">51</a> of file <a class="el" href="ElemVariable_8hpp_source.html">ElemVariable.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0ce7206294739fb812f4046e47ccc011"></a><!-- doxytag: member="ElemVariable::ElemVariable" ref="a0ce7206294739fb812f4046e47ccc011" args="(StylesheetConstructionContext &amp;constructionContext, Stylesheet &amp;stylesheetTree, const AttributeListType &amp;atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ElemVariable::ElemVariable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</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> &amp;&nbsp;</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> &amp;&nbsp;</td>
<td class="paramname"> <em>atts</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanFileLoc&nbsp;</td>
<td class="paramname"> <em>lineNumber</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanFileLoc&nbsp;</td>
<td class="paramname"> <em>columnNumber</em></td><td>&nbsp;</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:variable" 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>&nbsp;</td><td>context for construction of object </td></tr>
<tr><td valign="top"></td><td valign="top"><em>stylesheetTree</em>&nbsp;</td><td>stylesheet containing element </td></tr>
<tr><td valign="top"></td><td valign="top"><em>atts</em>&nbsp;</td><td>list of attributes for element </td></tr>
<tr><td valign="top"></td><td valign="top"><em>lineNumber</em>&nbsp;</td><td>line number in document </td></tr>
<tr><td valign="top"></td><td valign="top"><em>columnNumber</em>&nbsp;</td><td>column number in document </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8096af082948888f605ea2bd07d4cfa3"></a><!-- doxytag: member="ElemVariable::~ElemVariable" ref="a8096af082948888f605ea2bd07d4cfa3" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual ElemVariable::~ElemVariable </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a613d6e8188c6cff0c854528128497b14"></a><!-- doxytag: member="ElemVariable::ElemVariable" ref="a613d6e8188c6cff0c854528128497b14" args="(StylesheetConstructionContext &amp;constructionContext, Stylesheet &amp;stylesheetTree, const AttributeListType &amp;atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber, int xslToken)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ElemVariable::ElemVariable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</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> &amp;&nbsp;</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> &amp;&nbsp;</td>
<td class="paramname"> <em>atts</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanFileLoc&nbsp;</td>
<td class="paramname"> <em>lineNumber</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanFileLoc&nbsp;</td>
<td class="paramname"> <em>columnNumber</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>xslToken</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Construct an object corresponding to an "xsl:variable" 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>&nbsp;</td><td>context for construction of object </td></tr>
<tr><td valign="top"></td><td valign="top"><em>stylesheetTree</em>&nbsp;</td><td>stylesheet containing element </td></tr>
<tr><td valign="top"></td><td valign="top"><em>atts</em>&nbsp;</td><td>list of attributes for element </td></tr>
<tr><td valign="top"></td><td valign="top"><em>lineNumber</em>&nbsp;</td><td>line number in document </td></tr>
<tr><td valign="top"></td><td valign="top"><em>columnNumber</em>&nbsp;</td><td>column number in document </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a94d5b9ff38d46089dfd3cf3a2dade459"></a><!-- doxytag: member="ElemVariable::addToStylesheet" ref="a94d5b9ff38d46089dfd3cf3a2dade459" args="(StylesheetConstructionContext &amp;constructionContext, Stylesheet &amp;theStylesheet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void ElemVariable::addToStylesheet </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</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> &amp;&nbsp;</td>
<td class="paramname"> <em>theStylesheet</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Called during compilation when an instance is not parented by another element, and thus, is a child of the stylesheet. </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>&nbsp;</td><td>The current construction context </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theStylesheet</em>&nbsp;</td><td>The owning stylesheet </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>nothing </dd></dl>
<p>Reimplemented from <a class="el" href="classElemTemplateElement.html#a8c8b1b42634cf7404a2fec447b16e6b4">ElemTemplateElement</a>.</p>
</div>
</div>
<a class="anchor" id="aa90b2aff1dca8eda4d753033fbf437f8"></a><!-- doxytag: member="ElemVariable::endElement" ref="aa90b2aff1dca8eda4d753033fbf437f8" args="(StylesheetExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ElemVariable::endElement </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Completes "post-processing" afer any sub-elements are invoked (i.e. </p>
<p>children, attribute sets and templates). If there are no sub-elements it does nothing</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>&nbsp;</td><td>context to execute this element </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="classElemTemplateElement.html#aa4fdafe3998e32c8faef569d5c76dc3c">ElemTemplateElement</a>.</p>
<p>Reimplemented in <a class="el" href="classElemParam.html#a5957705a08b4291d017e38ef511d878b">ElemParam</a>.</p>
</div>
</div>
<a class="anchor" id="adab7b8188c510ab51e8b6fa7ded346ad"></a><!-- doxytag: member="ElemVariable::getElementName" ref="adab7b8188c510ab51e8b6fa7ded346ad" 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>&amp; ElemVariable::getElementName </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</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>
<p>Reimplemented in <a class="el" href="classElemParam.html#a7ff730589250d9199c84eb2221ded74c">ElemParam</a>.</p>
</div>
</div>
<a class="anchor" id="a6e7fc33b9b31892a29fd82d78c2d2d43"></a><!-- doxytag: member="ElemVariable::getNameAttribute" ref="a6e7fc33b9b31892a29fd82d78c2d2d43" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classXalanQName.html">XalanQName</a>&amp; ElemVariable::getNameAttribute </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the QName associated with any name attribute of this element. </p>
<p>If the element has no name attribute, this will be an empty QName.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A string containing the name of the element. </dd></dl>
<p>Reimplemented from <a class="el" href="classElemTemplateElement.html#aaacd9bb09b4c3a2f28f3ea07a28ccbad">ElemTemplateElement</a>.</p>
</div>
</div>
<a class="anchor" id="aaf6bca41b0302ccf69a1da37b248ca9c"></a><!-- doxytag: member="ElemVariable::getValue" ref="aaf6bca41b0302ccf69a1da37b248ca9c" args="(StylesheetExecutionContext &amp;executionContext, XalanNode *sourceNode) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classXObjectPtr.html">XObjectPtr</a> ElemVariable::getValue </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;&nbsp;</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> *&nbsp;</td>
<td class="paramname"> <em>sourceNode</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a7d1ae441c8001430cf0adb2a32fc8261"></a><!-- doxytag: member="ElemVariable::getXPath" ref="a7d1ae441c8001430cf0adb2a32fc8261" 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>* ElemVariable::getXPath </td>
<td>(</td>
<td class="paramtype">XalanSize_t&nbsp;</td>
<td class="paramname"> <em>index</em></td>
<td>&nbsp;)&nbsp;</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="a229b4924030ad2d4fb70783ebb24edaa"></a><!-- doxytag: member="ElemVariable::init" ref="a229b4924030ad2d4fb70783ebb24edaa" args="(StylesheetConstructionContext &amp;constructionContext, Stylesheet &amp;stylesheetTree, const AttributeListType &amp;atts)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ElemVariable::init </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</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> &amp;&nbsp;</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> &amp;&nbsp;</td>
<td class="paramname"> <em>atts</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Do common initialization. </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>&nbsp;</td><td>context for construction of object </td></tr>
<tr><td valign="top"></td><td valign="top"><em>stylesheetTree</em>&nbsp;</td><td>stylesheet containing element </td></tr>
<tr><td valign="top"></td><td valign="top"><em>atts</em>&nbsp;</td><td>list of attributes for element </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a55d0eccd1f342148ab43f98b64c1c766"></a><!-- doxytag: member="ElemVariable::isTopLevel" ref="a55d0eccd1f342148ab43f98b64c1c766" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ElemVariable::isTopLevel </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determines if this is a top level variable. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if it is a top level variable </dd></dl>
<p>Definition at line <a class="el" href="ElemVariable_8hpp_source.html#l00078">78</a> of file <a class="el" href="ElemVariable_8hpp_source.html">ElemVariable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a7a6d95fe6d7e9edfb8b7db614d0285a4"></a><!-- doxytag: member="ElemVariable::setParentNodeElem" ref="a7a6d95fe6d7e9edfb8b7db614d0285a4" args="(ElemTemplateElement *theParent)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void ElemVariable::setParentNodeElem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> *&nbsp;</td>
<td class="paramname"> <em>theParent</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set the parent node. </p>
<p>theParent - the new value for the parent.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>nothing </dd></dl>
<p>Reimplemented from <a class="el" href="classElemTemplateElement.html#aff06219eab23230d69ef35ec84821cd2">ElemTemplateElement</a>.</p>
</div>
</div>
<a class="anchor" id="a29f7601a3db8e8012b5ffa18e04d6a56"></a><!-- doxytag: member="ElemVariable::startElement" ref="a29f7601a3db8e8012b5ffa18e04d6a56" args="(StylesheetExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a>* ElemVariable::startElement </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td>
<td>&nbsp;)&nbsp;</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>&nbsp;</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>
<p>Reimplemented in <a class="el" href="classElemParam.html#a86d89c77894925f106b44561ae087ee9">ElemParam</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a3639efe7071d8ee5a790a01213c4e781"></a><!-- doxytag: member="ElemVariable::m_qname" ref="a3639efe7071d8ee5a790a01213c4e781" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classXalanQName.html">XalanQName</a>* <a class="el" href="classElemVariable.html#a3639efe7071d8ee5a790a01213c4e781">ElemVariable::m_qname</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="ElemVariable_8hpp_source.html#l00151">151</a> of file <a class="el" href="ElemVariable_8hpp_source.html">ElemVariable.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ElemVariable_8hpp_source.html">ElemVariable.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 &copy; 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>