| <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> <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>ElemChoose Class Reference</h1><code>#include <<a class="el" href="ElemChoose_8hpp-source.html">ElemChoose.hpp</a>></code> |
| <p> |
| Inheritance diagram for ElemChoose:<p><center><img src="classElemChoose__inherit__graph.gif" border="0" usemap="#ElemChoose_inherit_map" alt="Inheritance graph"></center> |
| <map name="ElemChoose_inherit_map"> |
| <area href="classElemTemplateElement.html" shape="rect" coords="6,117,156,93"> |
| <area href="classPrefixResolver.html" shape="rect" coords="30,42,132,18"> |
| </map> |
| <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ElemChoose:<p><center><img src="classElemChoose__coll__graph.gif" border="0" usemap="#ElemChoose_coll_map" alt="Collaboration graph"></center> |
| <map name="ElemChoose_coll_map"> |
| <area href="classElemTemplateElement.html" shape="rect" coords="17,113,166,89"> |
| </map> |
| <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classElemChoose-members.html">List of all members.</a><h2>Public Methods</h2> |
| <ul> |
| <li><a class="el" href="classElemChoose.html#a0">ElemChoose</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &constructionContext, <a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &stylesheetTree, const <a class="el" href="classAttributeListType.html">AttributeListType</a> &atts, int lineNumber, int columnNumber) |
| <dl class="el"><dd><font size=-1><em>Construct an object corresponding to an "xsl:choose" element.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>& <a class="el" href="classElemChoose.html#a1">getElementName</a> () const |
| <dl class="el"><dd><font size=-1><em>Get a string for the name of the element.</em> <a href="#a1">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a>* <a class="el" href="classElemChoose.html#a2">startElement</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext) const |
| <dl class="el"><dd><font size=-1><em>Completes "pre-processing" before any sub-elements are invoked (i.e.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a>* <a class="el" href="classElemChoose.html#a3">getNextChildElemToExecute</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &executionContext, const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> *currentElem) const |
| <dl class="el"><dd><font size=-1><em>Returns the next sub-element (i.e.</em> <a href="#a3">More...</a><em><br><br></em></font></dl></ul> |
| <h2>Protected Methods</h2> |
| <ul> |
| <li>virtual bool <a class="el" href="classElemChoose.html#b0">childTypeAllowed</a> (int xslToken) const |
| <dl class="el"><dd><font size=-1><em>Given an xsl token type, determine whether or not a child of that type is allowed.</em> <a href="#b0">More...</a><em><br><br></em></font></dl></ul> |
| <hr><h2>Constructor & Destructor Documentation</h2> |
| <a name="a0" doxytag="ElemChoose::ElemChoose"></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> |
| ElemChoose::ElemChoose ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> & <em>constructionContext</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> & <em>stylesheetTree</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classAttributeListType.html">AttributeListType</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> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Construct an object corresponding to an "xsl:choose" 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> </td> |
| </tr> |
| </table> |
| <hr><h2>Member Function Documentation</h2> |
| <a name="b0" doxytag="ElemChoose::childTypeAllowed"></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> |
| bool ElemChoose::childTypeAllowed ( |
| </b></td> |
| <td valign="bottom"><b> |
| int <em>xslToken</em> ) const<code> [protected, virtual]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Given an xsl token type, determine whether or not a child of that type is allowed. |
| <p> |
| This is so derived types can determine whether a particular type of child is allowed for the instance. It is called from <a class="el" href="classElemTemplateElement.html#a39">appendChildElem</a>(). |
| <p> |
| The default is to allow no types (no children)<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>xslToken</em> |
| </td><td> |
| The xsl token value of the child. |
| <p> |
| </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| true if the child is allowed, or false if not. </dl> |
| <p> |
| Reimplemented from <a class="el" href="classElemTemplateElement.html#b11">ElemTemplateElement</a>. </td> |
| </tr> |
| </table> |
| <a name="a1" doxytag="ElemChoose::getElementName"></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> & ElemChoose::getElementName ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const<code> [virtual]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get a string for the name of the element. |
| <p> |
| Useful for debugging purposes, and error reporting. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| A string containing the name of the element. </dl> |
| <p> |
| Reimplemented from <a class="el" href="classElemTemplateElement.html#a13">ElemTemplateElement</a>. </td> |
| </tr> |
| </table> |
| <a name="a3" doxytag="ElemChoose::getNextChildElemToExecute"></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="classElemTemplateElement.html">ElemTemplateElement</a> * ElemChoose::getNextChildElemToExecute ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & <em>executionContext</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> * <em>currentElem</em> ) const<code> [virtual]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Returns the next sub-element (i.e. |
| <p> |
| children, attribute-sets, templates) to execute.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>executionContext</em> |
| </td><td> |
| context to execute element </td></tr> |
| <tr><td valign=top><em>currentElem</em> |
| </td><td> |
| the last sub-element to be executed </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| next sub-element to execute, 0 only if no more sub-elements to execute </dl> |
| <p> |
| Reimplemented from <a class="el" href="classElemTemplateElement.html#a31">ElemTemplateElement</a>. </td> |
| </tr> |
| </table> |
| <a name="a2" doxytag="ElemChoose::startElement"></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="classElemTemplateElement.html">ElemTemplateElement</a> * ElemChoose::startElement ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> & <em>executionContext</em> ) const<code> [virtual]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Completes "pre-processing" before any sub-elements are invoked (i.e. |
| <p> |
| children, attribute sets and templates). If there are no sub-elements it executes the primary function of the element.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>executionContext</em> |
| </td><td> |
| context to execute this element </td></tr> |
| </table> |
| </dl> |
| <p> |
| Reimplemented from <a class="el" href="classElemTemplateElement.html#a6">ElemTemplateElement</a>. </td> |
| </tr> |
| </table> |
| <hr>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="ElemChoose_8hpp-source.html">ElemChoose.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 © 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>
|