blob: f15e257d42a8dff52a8fa9c5f58a0636f50df968 [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>XalanDOMImplementation Class Reference</h1><code>#include &lt;<a class="el" href="XalanDOMImplementation_8hpp-source.html">XalanDOMImplementation.hpp</a>&gt;</code>
<p>
Inheritance diagram for XalanDOMImplementation:<p><center><img src="classXalanDOMImplementation__inherit__graph.gif" border="0" usemap="#XalanDOMImplementation_inherit_map" alt="Inheritance graph"></center>
<map name="XalanDOMImplementation_inherit_map">
<area href="classXercesDOMImplementationBridge.html" shape="rect" coords="6,117,222,93">
<area href="classXercesDOMImplementationWrapper.html" shape="rect" coords="246,117,476,93">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXalanDOMImplementation-members.html">List of all members.</a><h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXalanDOMImplementation.html#a0">XalanDOMImplementation</a> ()
<li>virtual <a class="el" href="classXalanDOMImplementation.html#a1">~XalanDOMImplementation</a> ()
</ul>
<tr><td colspan="2"><div class="groupHeader">Getter functions</div></td></tr>
<ul>
<li>virtual bool <a class="el" href="classXalanDOMImplementation.html#a2">hasFeature</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;feature, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;version)=0
<dl class="el"><dd><font size=-1><em>Test if the DOM implementation implements a specific feature.</em> <a href="#a2">More...</a><em><br><br></em></font></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2.</div></td></tr>
<ul>
<li>virtual <a class="el" href="classXalanDocumentType.html">XalanDocumentType</a>* <a class="el" href="classXalanDOMImplementation.html#a3">createDocumentType</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;qualifiedName, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;publicId, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;systemId)=0
<dl class="el"><dd><font size=-1><em>Creates an empty <code>DocumentType</code> node.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanDocument.html">XalanDocument</a>* <a class="el" href="classXalanDOMImplementation.html#a4">createDocument</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;namespaceURI, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;qualifiedName, const <a class="el" href="classXalanDocumentType.html">XalanDocumentType</a> &amp;doctype)=0
<dl class="el"><dd><font size=-1><em>Creates an XML <code>Document</code> object of the specified type with its document element.</em> <a href="#a4">More...</a><em><br><br></em></font></dl></ul>
<h2>Protected Methods</h2>
<ul>
<li><a class="el" href="classXalanDOMImplementation.html#b0">XalanDOMImplementation</a> (const XalanDOMImplementation &amp;theSource)
<li>XalanDOMImplementation&amp; <a class="el" href="classXalanDOMImplementation.html#b1">operator=</a> (const XalanDOMImplementation &amp;theSource)
<li>bool <a class="el" href="classXalanDOMImplementation.html#b2">operator==</a> (const XalanDOMImplementation &amp;theRHS) const
</ul>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XalanDOMImplementation::XalanDOMImplementation"></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>
XalanDOMImplementation::XalanDOMImplementation (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a1" doxytag="XalanDOMImplementation::~XalanDOMImplementation"></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>
XalanDOMImplementation::~XalanDOMImplementation (
</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>
<a name="b0" doxytag="XalanDOMImplementation::XalanDOMImplementation"></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>
XalanDOMImplementation::XalanDOMImplementation (
</b></td>
<td valign="bottom"><b>
const XalanDOMImplementation &amp; <em>theSource</em>&nbsp;)<code> [protected]</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="a4" doxytag="XalanDOMImplementation::createDocument"></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>
<a class="el" href="classXalanDocument.html">XalanDocument</a> * XalanDOMImplementation::createDocument (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>namespaceURI</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>qualifiedName</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDocumentType.html">XalanDocumentType</a> &amp; <em>doctype</em>&nbsp;)<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates an XML <code>Document</code> object of the specified type with its document element.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>namespaceURI</em>
&nbsp;</td><td>
The <em>namespace URI</em> of the document element to create, or <code>null</code>. </td></tr>
<tr><td valign=top><em>qualifiedName</em>
&nbsp;</td><td>
The <em>qualified name</em> of the document element to be created. </td></tr>
<tr><td valign=top><em>doctype</em>
&nbsp;</td><td>
The type of document to be created or <code>null</code>. </td></tr>
</table>
</dl>
<p>
When <code>doctype</code> is not <code>null</code>, its <code>Node.ownerDocument</code> attribute is set to the document being created. <dl compact><dt>
<b>Returns: </b><dd>
A new <code>Document</code> object. </dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
WRONG_DOCUMENT_ERR: Raised if <code>doctype</code> has already been used with a different document. </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="classXercesDOMImplementationWrapper.html#a4">XercesDOMImplementationWrapper</a>, and <a class="el" href="classXercesDOMImplementationBridge.html#a4">XercesDOMImplementationBridge</a>. </td>
</tr>
</table>
<a name="a3" doxytag="XalanDOMImplementation::createDocumentType"></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>
<a class="el" href="classXalanDocumentType.html">XalanDocumentType</a> * XalanDOMImplementation::createDocumentType (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>qualifiedName</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>publicId</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>systemId</em>&nbsp;)<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates an empty <code>DocumentType</code> node.
<p>
Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur. It is expected that a future version of the DOM will provide a way for populating a <code>DocumentType</code>. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>qualifiedName</em>
&nbsp;</td><td>
The <em>qualified name</em> of the document type to be created. </td></tr>
<tr><td valign=top><em>publicId</em>
&nbsp;</td><td>
The external subset public identifier. </td></tr>
<tr><td valign=top><em>systemId</em>
&nbsp;</td><td>
The external subset system identifier. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A new <code>DocumentType</code> node with <code>Node.ownerDocument</code> set to <code>null</code>. </dl>
<p>
Reimplemented in <a class="el" href="classXercesDOMImplementationWrapper.html#a3">XercesDOMImplementationWrapper</a>, and <a class="el" href="classXercesDOMImplementationBridge.html#a3">XercesDOMImplementationBridge</a>. </td>
</tr>
</table>
<a name="a2" doxytag="XalanDOMImplementation::hasFeature"></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 XalanDOMImplementation::hasFeature (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>feature</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>version</em>&nbsp;)<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Test if the DOM implementation implements a specific feature.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>feature</em>
&nbsp;</td><td>
The string of the feature to test (case-insensitive). The legal values are defined throughout this specification. The string must be an <em>XML name</em> (see also Compliance). </td></tr>
<tr><td valign=top><em>version</em>
&nbsp;</td><td>
This is the version number of the package name to test. In Level 1, this is the string "1.0". If the version is not specified, supporting any version of the feature will cause the method to return <code>true</code>. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
<code>true</code> if the feature is implemented in the specified version, <code>false</code> otherwise. </dl>
<p>
Reimplemented in <a class="el" href="classXercesDOMImplementationWrapper.html#a2">XercesDOMImplementationWrapper</a>, and <a class="el" href="classXercesDOMImplementationBridge.html#a2">XercesDOMImplementationBridge</a>. </td>
</tr>
</table>
<a name="b1" doxytag="XalanDOMImplementation::operator="></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>
XalanDOMImplementation &amp; XalanDOMImplementation::operator= (
</b></td>
<td valign="bottom"><b>
const XalanDOMImplementation &amp; <em>theSource</em>&nbsp;)<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="b2" doxytag="XalanDOMImplementation::operator=="></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 XalanDOMImplementation::operator== (
</b></td>
<td valign="bottom"><b>
const XalanDOMImplementation &amp; <em>theRHS</em>&nbsp;) const<code> [protected]</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>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XalanDOMImplementation_8hpp-source.html">XalanDOMImplementation.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>