<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:00 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>ElemUse Class Reference</h1><code>#include <<a class="el" href="ElemUse.hpp-source.html">ElemUse.hpp</a>></code> <p> <p>Inheritance diagram for ElemUse: <p><center><img src="class_elemuse.gif" usemap="#ElemUse_map" border="0"></center> <map name="ElemUse_map"><p> <area href="class_elemtemplateelement.html" alt="ElemTemplateElement" shape="rect" coords="214,112,347,136"> <area href="class_xalanelement.html" alt="XalanElement" shape="rect" coords="143,56,276,80"> <area href="class_prefixresolver.html" alt="PrefixResolver" shape="rect" coords="286,56,419,80"> <area href="class_xalannode.html" alt="XalanNode" shape="rect" coords="143,0,276,24"> <area href="class_elemattributeset.html" alt="ElemAttributeSet" shape="rect" coords="0,224,133,248"> <area href="class_elemcopy.html" alt="ElemCopy" shape="rect" coords="143,224,276,248"> <area href="class_elemelement.html" alt="ElemElement" shape="rect" coords="286,224,419,248"> <area href="class_elemliteralresult.html" alt="ElemLiteralResult" shape="rect" coords="429,224,562,248"> <area href="class_elemextensioncall.html" alt="ElemExtensionCall" shape="rect" coords="429,280,562,304"> </map> Collaboration diagram for ElemUse:<p><center><img src="class_elemuse_coll_graph.gif" border="0" usemap="#ElemUse_impl_map"></center> <map name="ElemUse_impl_map"> <area href="class_elemtemplateelement.html" shape="rect" coords="19,120,160,98"> </map><p> <a href="class_elemuse-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef std::vector<<a class="el" href="class_xalanqnamebyvalue.html">XalanQNameByValue</a>> <a class="el" href="class_elemuse.html#s0">QNameVectorType</a> </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_elemuse.html#a0">ElemUse</a> ( <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>& constructionContext, <a class="el" href="class_stylesheet.html">Stylesheet</a>& stylesheetTree, int lineNumber, int columnNumber, int xslToken = Constants::ELEMNAME_USE) <dl class="el"><dd><font size=-1><em>Construct an object corresponding to an "use-attribute-sets" attribute.</em> <a href="#a0">More...</a><em></em></font></dl><li>virtual <a class="el" href="class_elemuse.html#a1">~ElemUse</a> () <li>bool <a class="el" href="class_elemuse.html#a2">processUseAttributeSets</a> ( <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>& constructionContext, const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a>* attrName, const <a class="el" href="class_attributelist.html">AttributeList</a>& atts, int which) <dl class="el"><dd><font size=-1><em>See if this is a use-attribute-sets attribute, and, if so, process it.</em> <a href="#a2">More...</a><em></em></font></dl><li>virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& <a class="el" href="class_elemuse.html#a3">getElementName</a> () const <li>virtual void <a class="el" href="class_elemuse.html#a4">postConstruction</a> ( <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>& constructionContext, const <a class="el" href="class_namespaceshandler.html">NamespacesHandler</a>& 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_elemuse.html#a5">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="#a5">More...</a><em></em></font></dl></ul> <h2>Protected Methods</h2> <ul> <li>virtual void <a class="el" href="class_elemuse.html#b0">doExecute</a> ( <a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a>& executionContext, bool applyAttributeSets) const <dl class="el"><dd><font size=-1><em>Execute and conditionally apply any attribute sets.</em> <a href="#b0">More...</a><em></em></font></dl></ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="ElemUse::QNameVectorType"><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<<a class="el" href="class_xalanqnamebyvalue.html">XalanQNameByValue</a>> ElemUse::QNameVectorType</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ElemUse::ElemUse"><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> ElemUse::ElemUse ( </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> 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> = Constants::ELEMNAME_USE)</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Construct an object corresponding to an "use-attribute-sets" attribute. <p> This is a base class for "xsl:element," "xsl:copy" and "xsl:attribute-set" elements, which may specify attribute sets to use. <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> <a name="a1" doxytag="ElemUse::~ElemUse"><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 ElemUse::~ElemUse ()<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Function Documentation</h2> <a name="b0" doxytag="ElemUse::doExecute"><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 ElemUse::doExecute ( </b></td> <td><b> <a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> bool <em>applyAttributeSets</em>) const<code> [protected, virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute and conditionally apply any attribute sets. <p> To be used by deriving classes who want ElemUse to do any default execution but skip applying attribute sets. Typically, this would be done when attempting to recover from an error. <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> <tr><td valign=top><em>applyAttributeSets</em> </td><td> If true, attribute sets will be applied. </td></tr> </table> </dl></div> <a name="a5" doxytag="ElemUse::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 ElemUse::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>. <p> Reimplemented in <a class="el" href="class_elemattributeset.html#a4">ElemAttributeSet</a>, <a class="el" href="class_elemcopy.html#a2">ElemCopy</a>, <a class="el" href="class_elemelement.html#a3">ElemElement</a>, <a class="el" href="class_elemextensioncall.html#a2">ElemExtensionCall</a>, and <a class="el" href="class_elemliteralresult.html#a5">ElemLiteralResult</a>.</div> <a name="a3" doxytag="ElemUse::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>& ElemUse::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_elemattributeset.html#a3">ElemAttributeSet</a>, <a class="el" href="class_elemcopy.html#a1">ElemCopy</a>, <a class="el" href="class_elemelement.html#a2">ElemElement</a>, <a class="el" href="class_elemextensioncall.html#a1">ElemExtensionCall</a>, and <a class="el" href="class_elemliteralresult.html#a2">ElemLiteralResult</a>.</div> <a name="a4" doxytag="ElemUse::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 ElemUse::postConstruction ( </b></td> <td><b> <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a> & <em>constructionContext</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_namespaceshandler.html">NamespacesHandler</a> & <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>. <p> Reimplemented in <a class="el" href="class_elemliteralresult.html#a3">ElemLiteralResult</a>.</div> <a name="a2" doxytag="ElemUse::processUseAttributeSets"><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> bool ElemUse::processUseAttributeSets ( </b></td> <td><b> <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a> & <em>constructionContext</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> * <em>attrName</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>which</em>)</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> See if this is a use-attribute-sets attribute, and, if so, process it. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>attrName</em> </td><td> qualified name of attribute </td></tr> <tr><td valign=top><em>atts</em> </td><td> attribute list where the element comes from (not used at this time) </td></tr> <tr><td valign=top><em>which</em> </td><td> index into the attribute list (not used at this time) </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if this is a use-attribute-sets attribute </dl></div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ElemUse.hpp.html">ElemUse.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>