<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:14 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>ElemAttribute Class Reference</h1><code>#include <<a class="el" href="ElemAttribute.hpp-source.html">ElemAttribute.hpp</a>></code> <p> <p>Inheritance diagram for ElemAttribute: <p><center><img src="class_elemattribute.gif" usemap="#ElemAttribute_map" border="0"></center> <map name="ElemAttribute_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 ElemAttribute:<p><center><img src="class_elemattribute_coll_graph.gif" border="0" usemap="#ElemAttribute_impl_map"></center> <map name="ElemAttribute_impl_map"> <area href="class_elemtemplateelement.html" shape="rect" coords="19,120,160,99"> <area href="class_avt.html" shape="rect" coords="71,195,108,174"> </map><p> <a href="class_elemattribute-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="class_elemattribute.html#a0">ElemAttribute</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:attribute" element.</em> <a href="#a0">More...</a><em></em></font></dl><li>virtual <a class="el" href="class_elemattribute.html#a1">~ElemAttribute</a> () <li>virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& <a class="el" href="class_elemattribute.html#a2">getElementName</a> () const <li>virtual void <a class="el" href="class_elemattribute.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> <h2>Protected Methods</h2> <ul> <li>virtual bool <a class="el" href="class_elemattribute.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></em></font></dl></ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ElemAttribute::ElemAttribute"><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> ElemAttribute::ElemAttribute ( </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:attribute" 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> <a name="a1" doxytag="ElemAttribute::~ElemAttribute"><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 ElemAttribute::~ElemAttribute ()<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="ElemAttribute::childTypeAllowed"><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 bool ElemAttribute::childTypeAllowed ( </b></td> <td><b> int <em>xslToken</em>) const<code> [protected, virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <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="class_elemtemplateelement.html#a31">appendChildElem</a>(). <p> The default is to allow no types (no children) <p> <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="class_elemtemplateelement.html#b3">ElemTemplateElement</a>.</div> <a name="a3" doxytag="ElemAttribute::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 ElemAttribute::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="ElemAttribute::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>& ElemAttribute::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> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ElemAttribute.hpp.html">ElemAttribute.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>