<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:31:05 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>ElemWhen Class Reference</h1><code>#include <<a class="el" href="ElemWhen.hpp-source.html">ElemWhen.hpp</a>></code> <p> <p>Inheritance diagram for ElemWhen: <p><center><img src="class_elemwhen.gif" usemap="#ElemWhen_map" border="0"></center> <map name="ElemWhen_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"> </map> Collaboration diagram for ElemWhen:<p><center><img src="class_elemwhen_coll_graph.gif" border="0" usemap="#ElemWhen_impl_map"></center> <map name="ElemWhen_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_elemwhen-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="class_elemwhen.html#a0">ElemWhen</a> ( <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>& constructionContext, <a class="el" href="class_stylesheet.html">Stylesheet</a>& stylesheetTree, const <a class="el" href="class_attributelist.html">AttributeList</a>& atts, int lineNumber, int columnNumber) <dl class="el"><dd><font size=-1><em>Construct an object corresponding to an "xsl:when" element.</em> <a href="#a0">More...</a><em></em></font></dl><li>const <a class="el" href="class_xpath.html">XPath</a>* <a class="el" href="class_elemwhen.html#a1">getXPath</a> () const <dl class="el"><dd><font size=-1><em>Retrieve the <a class="el" href="class_xpath.html">XPath</a> corresponding to the "test" attribute.</em> <a href="#a1">More...</a><em></em></font></dl><li>virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& <a class="el" href="class_elemwhen.html#a2">getElementName</a> () const <li>virtual void <a class="el" href="class_elemwhen.html#a3">execute</a> (<a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a>& executionContext) const <dl class="el"><dd><font size=-1><em>Execute the element's primary function.</em> <a href="#a3">More...</a><em></em></font></dl></ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ElemWhen::ElemWhen"><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> ElemWhen::ElemWhen ( </b></td> <td><b> <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a> & <em>constructionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_stylesheet.html">Stylesheet</a> & <em>stylesheetTree</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_attributelist.html">AttributeList</a> & <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:when" element. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>constructionContext</em> </td><td> context for construction of object </td></tr> <tr><td valign=top><em>stylesheetTree</em> </td><td> stylesheet containing element </td></tr> <tr><td valign=top><em>atts</em> </td><td> list of attributes for element </td></tr> <tr><td valign=top><em>lineNumber</em> </td><td> line number in document </td></tr> <tr><td valign=top><em>columnNumber</em> </td><td> column number in document </td></tr> </table> </dl></div> <hr><h2>Member Function Documentation</h2> <a name="a3" doxytag="ElemWhen::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 ElemWhen::execute ( </b></td> <td><b> <a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a> & <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> </td><td> The current execution context </td></tr> </table> </dl> <p> Reimplemented from <a class="el" href="class_elemtemplateelement.html#a6">ElemTemplateElement</a>.</div> <a name="a2" doxytag="ElemWhen::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>& ElemWhen::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>.</div> <a name="a1" doxytag="ElemWhen::getXPath"><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> * ElemWhen::getXPath () const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Retrieve the <a class="el" href="class_xpath.html">XPath</a> corresponding to the "test" attribute. <p> <dl compact><dt> <b>Returns: </b><dd> <a class="el" href="class_xpath.html">XPath</a> object </dl></div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ElemWhen.hpp.html">ElemWhen.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 © 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>