blob: c5282afe55910c3516b872d4e680cb0791bc1e62 [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> </div>
<div class="headertitle">
<h1>AVT Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="AVT" -->
<p>Class to hold an Attribute Value Template.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="AVT_8hpp_source.html">AVT.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for AVT:</div>
<div class="dyncontent">
<div class="center"><img src="classAVT__coll__graph.png" border="0" usemap="#AVT_coll__map" alt="Collaboration graph"/></div>
<map name="AVT_coll__map" id="AVT_coll__map">
<area shape="rect" id="node2" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="55,101,183,131"/><area shape="rect" id="node4" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="5,5,232,35"/><area shape="rect" id="node6" href="classAVTPart.html" title="Class to hold a part, either a string or XPath, of an Attribute Value Template." alt="" coords="207,101,279,131"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classAVT-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef size_t <a class="el" href="classAVT.html#a658a58ccb138b54261cd71eb77eaeb3c">size_type</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classAVT.html#a8b3222bee492d45a6bc2ca41c70f0201">AVT</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, const Locator *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;resolver)
<dl class="el"><dd class="mdescRight">Construct an Attribute Value Template(AVT) by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the <a class="el" href="classAVT.html" title="Class to hold an Attribute Value Template.">AVT</a> is simple. <a href="#a8b3222bee492d45a6bc2ca41c70f0201"></a><br/></dl><li>virtual <a class="el" href="classAVT.html#ab89e24859e88a097fc2f88aab3149512">~AVT</a> ()
<li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classAVT.html#a9043e3c0657ee085a8f8aafce23499af">getName</a> () const
<dl class="el"><dd class="mdescRight">Retrieve the name of the Attribute Value Template. <a href="#a9043e3c0657ee085a8f8aafce23499af"></a><br/></dl><li>void <a class="el" href="classAVT.html#af3811734324a618f4f10db3690cfd332">evaluate</a> (<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;buf, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver, <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Append the value to the buffer. <a href="#af3811734324a618f4f10db3690cfd332"></a><br/></dl><li>void <a class="el" href="classAVT.html#a68223c08c5a516e162d9a16d7070ab9c">evaluate</a> (<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;buf, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver, <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Append the value to the buffer. <a href="#a68223c08c5a516e162d9a16d7070ab9c"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Class to hold an Attribute Value Template. </p>
<p>Definition at line <a class="el" href="AVT_8hpp_source.html#l00055">55</a> of file <a class="el" href="AVT_8hpp_source.html">AVT.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a658a58ccb138b54261cd71eb77eaeb3c"></a><!-- doxytag: member="AVT::size_type" ref="a658a58ccb138b54261cd71eb77eaeb3c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef size_t <a class="el" href="classAVT.html#a658a58ccb138b54261cd71eb77eaeb3c">AVT::size_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="AVT_8hpp_source.html#l00062">62</a> of file <a class="el" href="AVT_8hpp_source.html">AVT.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8b3222bee492d45a6bc2ca41c70f0201"></a><!-- doxytag: member="AVT::AVT" ref="a8b3222bee492d45a6bc2ca41c70f0201" args="(StylesheetConstructionContext &amp;constructionContext, const Locator *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const PrefixResolver &amp;resolver)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">AVT::AVT </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">const Locator *&nbsp;</td>
<td class="paramname"> <em>locator</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>stringedValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>resolver</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 Attribute Value Template(AVT) by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the <a class="el" href="classAVT.html" title="Class to hold an Attribute Value Template.">AVT</a> is simple. </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 <a class="el" href="classAVT.html" title="Class to hold an Attribute Value Template.">AVT</a> </td></tr>
<tr><td valign="top"></td><td valign="top"><em>locator</em>&nbsp;</td><td>the Locator for the <a class="el" href="classAVT.html" title="Class to hold an Attribute Value Template.">AVT</a>. May be null. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>name of <a class="el" href="classAVT.html" title="Class to hold an Attribute Value Template.">AVT</a> </td></tr>
<tr><td valign="top"></td><td valign="top"><em>stringedValue</em>&nbsp;</td><td>string value to parse </td></tr>
<tr><td valign="top"></td><td valign="top"><em>resolver</em>&nbsp;</td><td>resolver for namespace resolution </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab89e24859e88a097fc2f88aab3149512"></a><!-- doxytag: member="AVT::~AVT" ref="ab89e24859e88a097fc2f88aab3149512" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual AVT::~AVT </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af3811734324a618f4f10db3690cfd332"></a><!-- doxytag: member="AVT::evaluate" ref="af3811734324a618f4f10db3690cfd332" args="(XalanDOMString &amp;buf, XalanNode *contextNode, const PrefixResolver &amp;prefixResolver, XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void AVT::evaluate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>buf</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>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Append the value to the buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>buf</em>&nbsp;</td><td>buffer to write into </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>current context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>prefix resolver to use </td></tr>
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>execution context </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="AVT_8hpp_source.html#l00106">106</a> of file <a class="el" href="AVT_8hpp_source.html">AVT.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a68223c08c5a516e162d9a16d7070ab9c"></a><!-- doxytag: member="AVT::evaluate" ref="a68223c08c5a516e162d9a16d7070ab9c" args="(XalanDOMString &amp;buf, const PrefixResolver &amp;prefixResolver, XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void AVT::evaluate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Append the value to the buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>buf</em>&nbsp;</td><td>buffer to write into </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>prefix resolver to use </td></tr>
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>execution context </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="AVT_8hpp_source.html#l00130">130</a> of file <a class="el" href="AVT_8hpp_source.html">AVT.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a9043e3c0657ee085a8f8aafce23499af"></a><!-- doxytag: member="AVT::getName" ref="a9043e3c0657ee085a8f8aafce23499af" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; AVT::getName </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieve the name of the Attribute Value Template. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>name of <a class="el" href="classAVT.html" title="Class to hold an Attribute Value Template.">AVT</a> </dd></dl>
<p>Definition at line <a class="el" href="AVT_8hpp_source.html#l00092">92</a> of file <a class="el" href="AVT_8hpp_source.html">AVT.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="AVT_8hpp_source.html">AVT.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>