Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 3c90d4f0807cc46df5c0517e9fe40564 > files > 1410

xalan-c-doc-1.4-2mdk.ppc.rpm

<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.4</h3>
</BODY>
<!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:30:35 2002 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</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>ElemForEach  Class Reference</h1><code>#include &lt;<a class="el" href="ElemForEach.hpp-source.html">ElemForEach.hpp</a>&gt;</code>
<p>
<p>Inheritance diagram for ElemForEach:
<p><center><img src="class_elemforeach.gif" usemap="#ElemForEach_map" border="0"></center>
<map name="ElemForEach_map"><p>
<area href="class_elemtemplateelement.html" alt="ElemTemplateElement" shape="rect" coords="71,112,204,136">
<area href="class_xalanelement.html" alt="XalanElement" shape="rect" coords="0,56,133,80">
<area href="class_prefixresolver.html" alt="PrefixResolver" shape="rect" coords="143,56,276,80">
<area href="class_xalannode.html" alt="XalanNode" shape="rect" coords="0,0,133,24">
<area href="class_elemapplytemplates.html" alt="ElemApplyTemplates" shape="rect" coords="71,224,204,248">
</map>
Collaboration diagram for ElemForEach:<p><center><img src="class_elemforeach_coll_graph.gif" border="0" usemap="#ElemForEach_impl_map"></center>
<map name="ElemForEach_impl_map">
<area href="class_elemtemplateelement.html" shape="rect" coords="19,120,160,99">
<area href="class_xpath.html" shape="rect" coords="67,179,112,158">
</map><p>
<a href="class_elemforeach-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef std::vector&lt;<a class="el" href="class_elemsort.html">ElemSort</a>*&gt; <a class="el" href="class_elemforeach.html#s0">SortElemsVectorType</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="class_elemforeach.html#a0">ElemForEach</a> ( <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>&amp; constructionContext, <a class="el" href="class_stylesheet.html">Stylesheet</a>&amp; stylesheetTree, const <a class="el" href="class_attributelist.html">AttributeList</a>&amp; atts, int lineNumber, int columnNumber)
<dl class="el"><dd><font size=-1><em>Construct an object corresponding to an "xsl:for-each" element.</em> <a href="#a0">More...</a><em></em></font></dl><li>virtual <a class="el" href="class_elemforeach.html#a1">~ElemForEach</a> ()
<li>const <a class="el" href="class_elemforeach.html#s0">SortElemsVectorType</a>&amp; <a class="el" href="class_elemforeach.html#a2">getSortElems</a> () const
<li><a class="el" href="class_elemforeach.html#s0">SortElemsVectorType</a>&amp; <a class="el" href="class_elemforeach.html#a3">getSortElems</a> ()
<li>const <a class="el" href="class_xpath.html">XPath</a>* <a class="el" href="class_elemforeach.html#a4">getSelectExpression</a> () const
<li>virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>&amp; <a class="el" href="class_elemforeach.html#a5">getElementName</a> () const
<li>virtual void <a class="el" href="class_elemforeach.html#a6">postConstruction</a> ( <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>&amp; constructionContext, const <a class="el" href="class_namespaceshandler.html">NamespacesHandler</a>&amp; theParentHandler)
<dl class="el"><dd><font size=-1><em>Called after construction is completed.</em></font></dl><li>virtual void <a class="el" href="class_elemforeach.html#a7">execute</a> (<a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a>&amp; executionContext) const
<dl class="el"><dd><font size=-1><em>Execute the element's primary function.</em> <a href="#a7">More...</a><em></em></font></dl></ul>
<h2>Protected Methods</h2>
<ul>
<li><a class="el" href="class_elemforeach.html#b0">ElemForEach</a> ( <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>&amp; constructionContext, <a class="el" href="class_stylesheet.html">Stylesheet</a>&amp; stylesheetTree, int lineNumber, int columnNumber, int xslToken)
<dl class="el"><dd><font size=-1><em>Construct an object derived from ElemForEach.</em> <a href="#b0">More...</a><em></em></font></dl><li>void <a class="el" href="class_elemforeach.html#b1">transformSelectedChildren</a> ( <a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a>&amp; executionContext, const <a class="el" href="class_elemtemplateelement.html">ElemTemplateElement</a>* theTemplate, <a class="el" href="class_xalannode.html">XalanNode</a>* sourceNodeContext, int selectStackFrameIndex) const
<dl class="el"><dd><font size=-1><em>Perform a query if needed, and call transformChild for each child.</em> <a href="#b1">More...</a><em></em></font></dl><li>void <a class="el" href="class_elemforeach.html#b2">transformSelectedChildren</a> ( <a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a>&amp; executionContext, const <a class="el" href="class_elemtemplateelement.html">ElemTemplateElement</a>* theTemplate, <a class="el" href="class_xalannode.html">XalanNode</a>* sourceNodeContext, <a class="el" href="class_nodesorter.html">NodeSorter</a>* sorter, int selectStackFrameIndex) const
<dl class="el"><dd><font size=-1><em>Perform a query if needed, and call transformChild for each child.</em> <a href="#b2">More...</a><em></em></font></dl><li>void <a class="el" href="class_elemforeach.html#b3">transformSelectedChildren</a> ( <a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a>&amp; executionContext, const <a class="el" href="class_elemtemplateelement.html">ElemTemplateElement</a>* theTemplate, const <a class="el" href="class_nodereflistbase.html">NodeRefListBase</a>&amp; sourceNodes, <a class="el" href="class_nodereflistbase.html#s0">NodeRefListBase::size_type</a> sourceNodesCount) const
<dl class="el"><dd><font size=-1><em>Perform a query if needed, and call transformChild for each child.</em> <a href="#b3">More...</a><em></em></font></dl></ul>
<h2>Protected Attributes</h2>
<ul>
<li>const <a class="el" href="class_xpath.html">XPath</a>* <a class="el" href="class_elemforeach.html#n0">m_selectPattern</a>
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="ElemForEach::SortElemsVectorType"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
typedef std::vector&lt;<a class="el" href="class_elemsort.html">ElemSort</a>*&gt; ElemForEach::SortElemsVectorType</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ElemForEach::ElemForEach"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
ElemForEach::ElemForEach (
</b></td>
<td><b>
<a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a> &amp; <em>constructionContext</em>, </b></td></tr>
<tr><td></td><td><b>
<a class="el" href="class_stylesheet.html">Stylesheet</a> &amp; <em>stylesheetTree</em>, </b></td></tr>
<tr><td></td><td><b>
const <a class="el" href="class_attributelist.html">AttributeList</a> &amp; <em>atts</em>, </b></td></tr>
<tr><td></td><td><b>
int <em>lineNumber</em>, </b></td></tr>
<tr><td></td><td><b>
int <em>columnNumber</em>)</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
Construct an object corresponding to an "xsl:for-each" element.
<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 object
 </td></tr>
<tr><td valign=top><em>stylesheetTree</em>
&nbsp;</td><td>
 stylesheet containing element
 </td></tr>
<tr><td valign=top><em>atts</em>
&nbsp;</td><td>
 list of attributes for element
 </td></tr>
<tr><td valign=top><em>lineNumber</em>
&nbsp;</td><td>
 line number in document
 </td></tr>
<tr><td valign=top><em>columnNumber</em>
&nbsp;</td><td>
 column number in document
</td></tr>
</table>
</dl></div>
<a name="a1" doxytag="ElemForEach::~ElemForEach"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
virtual ElemForEach::~ElemForEach ()<code> [virtual]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<a name="b0" doxytag="ElemForEach::ElemForEach"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
ElemForEach::ElemForEach (
</b></td>
<td><b>
<a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a> &amp; <em>constructionContext</em>, </b></td></tr>
<tr><td></td><td><b>
<a class="el" href="class_stylesheet.html">Stylesheet</a> &amp; <em>stylesheetTree</em>, </b></td></tr>
<tr><td></td><td><b>
int <em>lineNumber</em>, </b></td></tr>
<tr><td></td><td><b>
int <em>columnNumber</em>, </b></td></tr>
<tr><td></td><td><b>
int <em>xslToken</em>)<code> [protected]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
Construct an object derived from ElemForEach.
<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 object
 </td></tr>
<tr><td valign=top><em>stylesheetTree</em>
&nbsp;</td><td>
 stylesheet containing element
 </td></tr>
<tr><td valign=top><em>lineNumber</em>
&nbsp;</td><td>
 line number in document
 </td></tr>
<tr><td valign=top><em>columnNumber</em>
&nbsp;</td><td>
 column number in document
 </td></tr>
<tr><td valign=top><em>xslToken</em>
&nbsp;</td><td>
 an integer representing the type of instance.
</td></tr>
</table>
</dl></div>
<hr><h2>Member Function Documentation</h2>
<a name="a7" doxytag="ElemForEach::execute"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
virtual void ElemForEach::execute (
</b></td>
<td><b>
<a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>) const<code> [virtual]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
Execute the element's primary function.
<p>
Subclasses of this function may
 recursively execute down the element tree.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
 The current execution context
</td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="class_elemtemplateelement.html#a6">ElemTemplateElement</a>.
<p>
Reimplemented in <a class="el" href="class_elemapplytemplates.html#a5">ElemApplyTemplates</a>.</div>
<a name="a5" doxytag="ElemForEach::getElementName"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>&amp; ElemForEach::getElementName () const<code> [virtual]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>

<p>
Reimplemented from <a class="el" href="class_elemtemplateelement.html#a17">ElemTemplateElement</a>.
<p>
Reimplemented in <a class="el" href="class_elemapplytemplates.html#a4">ElemApplyTemplates</a>.</div>
<a name="a4" doxytag="ElemForEach::getSelectExpression"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
const <a class="el" href="class_xpath.html">XPath</a> * ElemForEach::getSelectExpression () const</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<a name="a3" doxytag="ElemForEach::getSortElems"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
<a class="el" href="class_elemforeach.html#s0">SortElemsVectorType</a> &amp; ElemForEach::getSortElems ()</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<a name="a2" doxytag="ElemForEach::getSortElems"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
const <a class="el" href="class_elemforeach.html#s0">SortElemsVectorType</a> &amp; ElemForEach::getSortElems () const</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<a name="a6" doxytag="ElemForEach::postConstruction"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
virtual void ElemForEach::postConstruction (
</b></td>
<td><b>
<a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a> &amp; <em>constructionContext</em>, </b></td></tr>
<tr><td></td><td><b>
const <a class="el" href="class_namespaceshandler.html">NamespacesHandler</a> &amp; <em>theParentHandler</em>)<code> [virtual]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
Called after construction is completed.
<p>

<p>
Reimplemented from <a class="el" href="class_elemtemplateelement.html#a21">ElemTemplateElement</a>.</div>
<a name="b3" doxytag="ElemForEach::transformSelectedChildren"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
void ElemForEach::transformSelectedChildren (
</b></td>
<td><b>
<a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>, </b></td></tr>
<tr><td></td><td><b>
const <a class="el" href="class_elemtemplateelement.html">ElemTemplateElement</a> * <em>theTemplate</em>, </b></td></tr>
<tr><td></td><td><b>
const <a class="el" href="class_nodereflistbase.html">NodeRefListBase</a> &amp; <em>sourceNodes</em>, </b></td></tr>
<tr><td></td><td><b>
<a class="el" href="class_nodereflistbase.html#s0">NodeRefListBase::size_type</a> <em>sourceNodesCount</em>) const<code> [protected]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
Perform a query if needed, and call transformChild for each child.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
 The current execution context
 </td></tr>
<tr><td valign=top><em>theTemplate</em>
&nbsp;</td><td>
 The owning template context.
 </td></tr>
<tr><td valign=top><em>sourceNodes</em>
&nbsp;</td><td>
 The source nodes to transform.
 </td></tr>
<tr><td valign=top><em>sourceNodesCount</em>
&nbsp;</td><td>
 The count of source nodes to transform.
</td></tr>
</table>
</dl></div>
<a name="b2" doxytag="ElemForEach::transformSelectedChildren"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
void ElemForEach::transformSelectedChildren (
</b></td>
<td><b>
<a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>, </b></td></tr>
<tr><td></td><td><b>
const <a class="el" href="class_elemtemplateelement.html">ElemTemplateElement</a> * <em>theTemplate</em>, </b></td></tr>
<tr><td></td><td><b>
<a class="el" href="class_xalannode.html">XalanNode</a> * <em>sourceNodeContext</em>, </b></td></tr>
<tr><td></td><td><b>
<a class="el" href="class_nodesorter.html">NodeSorter</a> * <em>sorter</em>, </b></td></tr>
<tr><td></td><td><b>
int <em>selectStackFrameIndex</em>) const<code> [protected]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
Perform a query if needed, and call transformChild for each child.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
 The current execution context
 </td></tr>
<tr><td valign=top><em>template</em>
&nbsp;</td><td>
 The owning template context.
 </td></tr>
<tr><td valign=top><em>sourceNodeContext</em>
&nbsp;</td><td>
 The current source node context.
 </td></tr>
<tr><td valign=top><em>selectStackFrameIndex</em>
&nbsp;</td><td>
 stack frame context for executing the
 select statement
</td></tr>
</table>
</dl></div>
<a name="b1" doxytag="ElemForEach::transformSelectedChildren"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
void ElemForEach::transformSelectedChildren (
</b></td>
<td><b>
<a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>, </b></td></tr>
<tr><td></td><td><b>
const <a class="el" href="class_elemtemplateelement.html">ElemTemplateElement</a> * <em>theTemplate</em>, </b></td></tr>
<tr><td></td><td><b>
<a class="el" href="class_xalannode.html">XalanNode</a> * <em>sourceNodeContext</em>, </b></td></tr>
<tr><td></td><td><b>
int <em>selectStackFrameIndex</em>) const<code> [protected]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
Perform a query if needed, and call transformChild for each child.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
 The current execution context
 </td></tr>
<tr><td valign=top><em>template</em>
&nbsp;</td><td>
 The owning template context.
 </td></tr>
<tr><td valign=top><em>sourceNodeContext</em>
&nbsp;</td><td>
 The current source node context.
 </td></tr>
<tr><td valign=top><em>selectStackFrameIndex</em>
&nbsp;</td><td>
 stack frame context for executing the
 select statement
</td></tr>
</table>
</dl></div>
<hr><h2>Member Data Documentation</h2>
<a name="n0" doxytag="ElemForEach::m_selectPattern"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
const <a class="el" href="class_xpath.html">XPath</a> * ElemForEach::m_selectPattern<code> [protected]</code></b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ElemForEach.hpp.html">ElemForEach.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="images/dot.gif" width="1"></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.4</B><BR>
			Copyright &copy; 2000, 2001, 2002 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">
		</TD>
	</TR>
</TABLE>