<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSL Transformer Version 1.1</h3> </BODY> <!-- Generated by Doxygen 1.2.0 on Thu Feb 15 10:47:44 2001 --> <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>ElemLiteralResult Class Reference</h1><code>#include <<a class="el" href="ElemLiteralResult.hpp-source.html">ElemLiteralResult.hpp</a>></code> <p> Inheritance diagram for ElemLiteralResult<p><center><img src="class_elemliteralresult_inherit_graph.gif" border="0" usemap="#ElemLiteralResult_inherit_map" alt="Inheritance graph"></center> <map name="ElemLiteralResult_inherit_map"> <area href="class_elemextensioncall.html" shape="rect" coords="43,333,160,352"> <area href="class_elemuse.html" shape="rect" coords="71,200,132,219"> <area href="class_elemtemplateelement.html" shape="rect" coords="33,133,169,152"> <area href="class_xalanelement.html" shape="rect" coords="0,67,88,85"> <area href="class_xalannode.html" shape="rect" coords="8,0,80,19"> <area href="class_prefixresolver.html" shape="rect" coords="112,67,205,85"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ElemLiteralResult:<p><center><img src="class_elemliteralresult_coll_graph.gif" border="0" usemap="#ElemLiteralResult_coll_map" alt="Collaboration graph"></center> <map name="ElemLiteralResult_coll_map"> <area href="class_elemuse.html" shape="rect" coords="99,181,160,200"> <area href="class_elemtemplateelement.html" shape="rect" coords="80,98,216,117"> <area href="class_xalandomstring.html" shape="rect" coords="16,0,125,18"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_elemliteralresult-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef std::vector<const <br> <a class="el" href="class_avt.html">AVT</a>*> <a class="el" href="class_elemliteralresult.html#s0">AVTVectorType</a> </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_elemliteralresult.html#a0">ElemLiteralResult</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="XalanDOMString.hpp.html#a1">XalanDOMChar</a>* name, const <a class="el" href="class_attributelist.html">AttributeList</a>& atts, int lineNumber, int columnNumber, int xslToken = Constants::ELEMNAME_LITERALRESULT) <dl class="el"><dd><font size=-1><em>Construct an object corresponding to a literal result element.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_elemliteralresult.html#a1">~ElemLiteralResult</a> () <li>virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& <a class="el" href="class_elemliteralresult.html#a2">getElementName</a> () const <li>virtual bool <a class="el" href="class_elemliteralresult.html#a3">isAttrOK</a> ( int tok, const <a class="el" href="XalanDOMString.hpp.html#a1">XalanDOMChar</a>* attrName, const <a class="el" href="class_attributelist.html">AttributeList</a>& atts, int which) const <dl class="el"><dd><font size=-1><em>See if this is a xmlns attribute, and, if so, process it.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_elemliteralresult.html#a4">isAttrOK</a> ( const <a class="el" href="XalanDOMString.hpp.html#a1">XalanDOMChar</a>* attrName, const <a class="el" href="class_attributelist.html">AttributeList</a>& atts, int which, <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>& constructionContext) const <dl class="el"><dd><font size=-1><em>See if this is a xmlns attribute or in a non-XSLT.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="class_elemliteralresult.html#a5">execute</a> ( <a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* sourceTree, <a class="el" href="class_xalannode.html">XalanNode</a>* sourceNode, const <a class="el" href="class_qname.html">QName</a>& mode) const <dl class="el"><dd><font size=-1><em>Execute the element's primary function.</em> <a href="#a5">More...</a><em><br><br></em></font></dl></ul> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="ElemLiteralResult::AVTVectorType"></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> typedef std::vector<const <a class="el" href="class_avt.html">AVT</a>*> ElemLiteralResult::AVTVectorType </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ElemLiteralResult::ElemLiteralResult"></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> ElemLiteralResult::ElemLiteralResult ( </b></td> <td valign="bottom"><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="XalanDOMString.hpp.html#a1">XalanDOMChar</a> * <em>name</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> <tr> <td></td> <td><b> int <em>xslToken</em> = Constants::ELEMNAME_LITERALRESULT ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Construct an object corresponding to a literal result 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>name</em> </td><td> name of 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> <a name="a1" doxytag="ElemLiteralResult::~ElemLiteralResult"></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> virtual ElemLiteralResult::~ElemLiteralResult ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a5" doxytag="ElemLiteralResult::execute"></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> virtual void ElemLiteralResult::execute ( </b></td> <td valign="bottom"><b> <a class="el" href="class_stylesheetexecutioncontext.html">StylesheetExecutionContext</a> & <em>executionContext</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>sourceTree</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>sourceNode</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_qname.html">QName</a> & <em>mode</em> ) const<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Execute the element's primary function. <p> Subclasses of this function may recursively execute down the element tree.<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>sourceTree</em> </td><td> input source tree </td></tr> <tr><td valign=top><em>sourceNode</em> </td><td> current context node </td></tr> <tr><td valign=top><em>mode</em> </td><td> current mode </td></tr> </table> </dl> <p> Reimplemented from <a class="el" href="class_elemuse.html#a4">ElemUse</a>. <p> Reimplemented in <a class="el" href="class_elemextensioncall.html#a2">ElemExtensionCall</a>. </td> </tr> </table> <a name="a2" doxytag="ElemLiteralResult::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> virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& ElemLiteralResult::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> <p> Reimplemented from <a class="el" href="class_elemuse.html#a3">ElemUse</a>. <p> Reimplemented in <a class="el" href="class_elemextensioncall.html#a1">ElemExtensionCall</a>. </td> </tr> </table> <a name="a4" doxytag="ElemLiteralResult::isAttrOK"></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> virtual bool ElemLiteralResult::isAttrOK ( </b></td> <td valign="bottom"><b> const <a class="el" href="XalanDOMString.hpp.html#a1">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> <tr> <td></td> <td><b> <a class="el" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a> & <em>constructionContext</em> ) const<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See if this is a xmlns attribute or in a non-XSLT. <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 namespace name </dl> <p> Reimplemented from <a class="el" href="class_elemtemplateelement.html#a3">ElemTemplateElement</a>. </td> </tr> </table> <a name="a3" doxytag="ElemLiteralResult::isAttrOK"></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> virtual bool ElemLiteralResult::isAttrOK ( </b></td> <td valign="bottom"><b> int <em>tok</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a1">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> ) const<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See if this is a xmlns 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 namespace name </dl> <p> Reimplemented from <a class="el" href="class_elemtemplateelement.html#a2">ElemTemplateElement</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ElemLiteralResult.hpp-source.html">ElemLiteralResult.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++ XSL Transformer Version 1.1</B><BR> Copyright © 2000, 2001 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>