blob: 6b384577126ba328684cd0ae8a8f6465c45466f7 [file] [log] [blame]
<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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ElemAttribute Class Reference</h1><code>#include &lt;<a class="el" href="ElemAttribute_8hpp-source.html">ElemAttribute.hpp</a>&gt;</code>
<p>
Inheritance diagram for ElemAttribute:<p><center><img src="classElemAttribute__inherit__graph.gif" border="0" usemap="#ElemAttribute_inherit_map" alt="Inheritance graph"></center>
<map name="ElemAttribute_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 ElemAttribute:<p><center><img src="classElemAttribute__coll__graph.gif" border="0" usemap="#ElemAttribute_coll_map" alt="Collaboration graph"></center>
<map name="ElemAttribute_coll_map">
<area href="classElemTemplateElement.html" shape="rect" coords="17,113,166,89">
<area href="classAVT.html" shape="rect" coords="69,180,114,156">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classElemAttribute-members.html">List of all members.</a><h2>Public Methods</h2>
<ul>
<li><a class="el" href="classElemAttribute.html#a0">ElemAttribute</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &amp;stylesheetTree, const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp;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><br><br></em></font></dl><li>virtual <a class="el" href="classElemAttribute.html#a1">~ElemAttribute</a> ()
<li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classElemAttribute.html#a2">getElementName</a> () const
<dl class="el"><dd><font size=-1><em>Get a string for the name of the element.</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="classElemAttribute.html#a3">startElement</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd><font size=-1><em>Completes "pre-processing" before any sub-elements are invoked (i.e.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classElemAttribute.html#a4">endElement</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd><font size=-1><em>Completes "post-processing" afer any sub-elements are invoked (i.e.</em> <a href="#a4">More...</a><em><br><br></em></font></dl></ul>
<h2>Protected Methods</h2>
<ul>
<li>virtual bool <a class="el" href="classElemAttribute.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 &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ElemAttribute::ElemAttribute"></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>
ElemAttribute::ElemAttribute (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp; <em>constructionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &amp; <em>stylesheetTree</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp; <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>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<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>
&nbsp;</td><td>
context for construction of object </td></tr>
<tr><td valign=top><em>stylesheetTree</em>
&nbsp;</td><td>
stylesheet containing element </td></tr>
<tr><td valign=top><em>atts</em>
&nbsp;</td><td>
list of attributes for element </td></tr>
<tr><td valign=top><em>lineNumber</em>
&nbsp;</td><td>
line number in document </td></tr>
<tr><td valign=top><em>columnNumber</em>
&nbsp;</td><td>
column number in document </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a1" doxytag="ElemAttribute::~ElemAttribute"></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>
ElemAttribute::~ElemAttribute (
</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>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="b0" doxytag="ElemAttribute::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 ElemAttribute::childTypeAllowed (
</b></td>
<td valign="bottom"><b>
int <em>xslToken</em>&nbsp;) const<code> [protected, virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</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>
&nbsp;</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="a4" doxytag="ElemAttribute::endElement"></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>
void ElemAttribute::endElement (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Completes "post-processing" afer any sub-elements are invoked (i.e.
<p>
children, attribute sets and templates). If there are no sub-elements it does nothing<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>executionContext</em>
&nbsp;</td><td>
context to execute this element </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classElemTemplateElement.html#a7">ElemTemplateElement</a>. </td>
</tr>
</table>
<a name="a2" doxytag="ElemAttribute::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> &amp; ElemAttribute::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>
&nbsp;
</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="ElemAttribute::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> * ElemAttribute::startElement (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp; <em>executionContext</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</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>
&nbsp;</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="ElemAttribute_8hpp-source.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="../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 &copy; 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>