blob: 840d2dac0671bcdd3027920a6a273aadbf124b77 [file] [log] [blame]
<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
</BODY>
<!-- Generated by Doxygen 1.2.8.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>AVT Class Reference</h1>Class to hold an Attribute Value Template.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="AVT_8hpp-source.html">AVT.hpp</a>&gt;</code>
<p>
Collaboration diagram for AVT:<p><center><img src="classAVT__coll__graph.gif" border="0" usemap="#AVT_coll_map" alt="Collaboration graph"></center>
<map name="AVT_coll_map">
<area href="classAVTPart.html" shape="rect" coords="6,43,76,19">
<area href="classXalanDOMString.html" shape="rect" coords="100,43,217,19">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classAVT-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef size_t <a class="el" href="classAVT.html#s0">size_type</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classAVT.html#a0">AVT</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, const <a class="el" href="ElemTemplateElement_8hpp.html#a1">LocatorType</a> *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;resolver)
<dl class="el"><dd><font size=-1><em>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 AVT is simple.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classAVT.html#a1">~AVT</a> ()
<li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classAVT.html#a2">getName</a> () const
<dl class="el"><dd><font size=-1><em>Retrieve the name of the Attribute Value Template.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classAVT.html#a3">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><font size=-1><em>Append the value to the buffer.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classAVT.html#a4">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><font size=-1><em>Append the value to the buffer.</em> <a href="#a4">More...</a><em><br><br></em></font></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Class to hold an Attribute Value Template.
<p>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="AVT::size_type"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
typedef size_t AVT::size_type
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="AVT::AVT"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
AVT::AVT (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp; <em>constructionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="ElemTemplateElement_8hpp.html#a1">LocatorType</a> * <em>locator</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const XalanDOMChar * <em>name</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const XalanDOMChar * <em>stringedValue</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp; <em>resolver</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<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 AVT is simple.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>constructionContext</em>
&nbsp;</td><td>
context for construction of AVT </td></tr>
<tr><td valign=top><em>locator</em>
&nbsp;</td><td>
the Locator for the AVT. May be null. </td></tr>
<tr><td valign=top><em>name</em>
&nbsp;</td><td>
name of AVT </td></tr>
<tr><td valign=top><em>stringedValue</em>
&nbsp;</td><td>
string value to parse </td></tr>
<tr><td valign=top><em>resolver</em>
&nbsp;</td><td>
resolver for namespace resolution </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a1" doxytag="AVT::~AVT"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
AVT::~AVT (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a4" doxytag="AVT::evaluate"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void AVT::evaluate (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>buf</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp; <em>prefixResolver</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp; <em>executionContext</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Append the value to the buffer.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>buf</em>
&nbsp;</td><td>
buffer to write into </td></tr>
<tr><td valign=top><em>prefixResolver</em>
&nbsp;</td><td>
prefix resolver to use </td></tr>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
execution context </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a3" doxytag="AVT::evaluate"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void AVT::evaluate (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>buf</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp; <em>prefixResolver</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp; <em>executionContext</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Append the value to the buffer.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>buf</em>
&nbsp;</td><td>
buffer to write into </td></tr>
<tr><td valign=top><em>contextNode</em>
&nbsp;</td><td>
current context node </td></tr>
<tr><td valign=top><em>prefixResolver</em>
&nbsp;</td><td>
prefix resolver to use </td></tr>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
execution context </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a2" doxytag="AVT::getName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; AVT::getName (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Retrieve the name of the Attribute Value Template.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
name of AVT </dl> </td>
</tr>
</table>
<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></ul>
<p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
<p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
<A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p>
<TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%">
<TR>
<TD WIDTH="80%" VALIGN="TOP">
<P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.10</B><BR>
Copyright &copy; 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
</TD>
</TR>
<TR>
<TD WIDTH="100%">
<P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
</TD>
</TR>
</TABLE>