XQuilla/docs/dom3-api/classxercesc_1_1DOMImplementation.html

473 lines
29 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla DOM Level 3 API: xercesc::DOMImplementation Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
2020-02-17 21:10:06 +00:00
<!-- Generated by Doxygen 1.5.1 -->
2020-02-17 21:05:20 +00:00
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></div>
<h1>xercesc::DOMImplementation Class Reference</h1><!-- doxytag: class="xercesc::DOMImplementation" --><!-- doxytag: inherits="xercesc::DOMImplementationLS" -->The <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code> interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMImplementation_8hpp-source.html">DOMImplementation.hpp</a>&gt;</code>
<p>
Inheritance diagram for xercesc::DOMImplementation:<p><center><img src="classxercesc_1_1DOMImplementation__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMImplementation__inherit__map" alt="Inheritance graph"></center>
<map name="xercesc_1_1DOMImplementation__inherit__map">
2020-02-17 21:10:06 +00:00
<area href="classxercesc_1_1DOMImplementationLS.html" shape="rect" coords="5,7,243,31" alt="">
2020-02-17 21:05:20 +00:00
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxercesc_1_1DOMImplementation-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Non-standard extension</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#da281142c45d864705a466d907d03c0f">createDocument</a> (<a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#da281142c45d864705a466d907d03c0f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#bb3e3f7f6baaf9ffcb75f1a15c4d90a8">getImplementation</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#bb3e3f7f6baaf9ffcb75f1a15c4d90a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#8dec389cdc723b861d0776cbfe0a6d36">loadDOMExceptionMsg</a> (const <a class="el" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">DOMException::ExceptionCode</a> msgToLoad, XMLCh *const toFill, const unsigned int maxChars)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#8dec389cdc723b861d0776cbfe0a6d36"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#71abb8721ab4227a3e8e14098deb8124">loadDOMExceptionMsg</a> (const <a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">DOMRangeException::RangeExceptionCode</a> msgToLoad, XMLCh *const toFill, const unsigned int maxChars)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#71abb8721ab4227a3e8e14098deb8124"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
2020-02-17 21:10:06 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#f40c750c0d4de46f33ef68a7770631c4">hasFeature</a> (const XMLCh *feature, const XMLCh *version) const=0</td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:10:06 +00:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if the DOM implementation implements a specific feature. <a href="#f40c750c0d4de46f33ef68a7770631c4"></a><br></td></tr>
2020-02-17 21:05:20 +00:00
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#a2abedbb67e6a04194a778cce3f55740">createDocumentType</a> (const XMLCh *qualifiedName, const XMLCh *publicId, const XMLCh *systemId)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an empty <code><a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a></code> node. <a href="#a2abedbb67e6a04194a778cce3f55740"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#37e8c9e3df6dd6a2bcdf80bb196e70d3">createDocument</a> (const XMLCh *namespaceURI, const XMLCh *qualifiedName, <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> *doctype, <a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> object of the specified type with its document element. <a href="#37e8c9e3df6dd6a2bcdf80bb196e70d3"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#9b466d651816289a84b75c845671e136">getInterface</a> (const XMLCh *feature)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method makes available a <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code>'s specialized interface (see ). <a href="#9b466d651816289a84b75c845671e136"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code> interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
2020-02-17 21:10:06 +00:00
<a class="anchor" name="6618b35cb48c4c515977f4ba8f6d1901"></a><!-- doxytag: member="xercesc::DOMImplementation::DOMImplementation" ref="6618b35cb48c4c515977f4ba8f6d1901" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">xercesc::DOMImplementation::DOMImplementation </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
<a class="anchor" name="eb1dd496f5809c4c9c2c5429c0fca11f"></a><!-- doxytag: member="xercesc::DOMImplementation::~DOMImplementation" ref="eb1dd496f5809c4c9c2c5429c0fca11f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual xercesc::DOMImplementation::~DOMImplementation </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
Destructor.
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
<a class="anchor" name="6618b35cb48c4c515977f4ba8f6d1901"></a><!-- doxytag: member="xercesc::DOMImplementation::DOMImplementation" ref="6618b35cb48c4c515977f4ba8f6d1901" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">xercesc::DOMImplementation::DOMImplementation </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
<a class="anchor" name="eb1dd496f5809c4c9c2c5429c0fca11f"></a><!-- doxytag: member="xercesc::DOMImplementation::~DOMImplementation" ref="eb1dd496f5809c4c9c2c5429c0fca11f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual xercesc::DOMImplementation::~DOMImplementation </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
2020-02-17 21:10:06 +00:00
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="f40c750c0d4de46f33ef68a7770631c4"></a><!-- doxytag: member="xercesc::DOMImplementation::hasFeature" ref="f40c750c0d4de46f33ef68a7770631c4" args="(const XMLCh *feature, const XMLCh *version) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual bool xercesc::DOMImplementation::hasFeature </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>feature</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>version</em></td><td>&nbsp;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
Test if the DOM implementation implements a specific feature.
2020-02-17 21:05:20 +00:00
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 21:10:06 +00:00
<tr><td valign="top"></td><td valign="top"><em>feature</em>&nbsp;</td><td>The name of the feature to test (case-insensitive). The values used by DOM features are defined throughout the DOM Level 2 specifications and listed in the section. The name must be an XML name. To avoid possible conflicts, as a convention, names referring to features defined outside the DOM specification should be made unique. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>version</em>&nbsp;</td><td>This is the version number of the feature to test. In Level 2, the string can be either "2.0" or "1.0". If the version is not specified, supporting any version of the feature causes the method to return <code>true</code>. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
</dl>
2020-02-17 21:10:06 +00:00
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the feature is implemented in the specified version, <code>false</code> otherwise. </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div><p>
<a class="anchor" name="a2abedbb67e6a04194a778cce3f55740"></a><!-- doxytag: member="xercesc::DOMImplementation::createDocumentType" ref="a2abedbb67e6a04194a778cce3f55740" args="(const XMLCh *qualifiedName, const XMLCh *publicId, const XMLCh *systemId)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a>* xercesc::DOMImplementation::createDocumentType </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>qualifiedName</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>publicId</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>systemId</em></td><td>&nbsp;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
Creates an empty <code><a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a></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><a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a></code>. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td>The qualified name of the document type to be created. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>publicId</em>&nbsp;</td><td>The external subset public identifier. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>systemId</em>&nbsp;</td><td>The external subset system identifier. </td></tr>
</table>
</dl>
2020-02-17 21:10:06 +00:00
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a></code> node with <code>ownerDocument</code> set to <code>null</code>. </dd></dl>
2020-02-17 21:05:20 +00:00
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character. <br>
NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is malformed. <br>
NOT_SUPPORTED_ERR: May be raised by DOM implementations which do not support the <code>"XML"</code> feature, if they choose not to support this method. Other features introduced in the future, by the DOM WG or in extensions defined by other groups, may also demand support for this method; please consult the definition of the feature to see if it requires this method. </td></tr>
</table>
</dl>
2020-02-17 21:10:06 +00:00
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="37e8c9e3df6dd6a2bcdf80bb196e70d3"></a><!-- doxytag: member="xercesc::DOMImplementation::createDocument" ref="37e8c9e3df6dd6a2bcdf80bb196e70d3" args="(const XMLCh *namespaceURI, const XMLCh *qualifiedName, DOMDocumentType *doctype, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>* xercesc::DOMImplementation::createDocument </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>qualifiedName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> *&nbsp;</td>
<td class="paramname"> <em>doctype</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const &nbsp;</td>
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
Creates a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> object of the specified type with its document element.
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the document element to create. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td>The qualified name of the document element to be created. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>doctype</em>&nbsp;</td><td>The type of document to be created or <code>null</code>. When <code>doctype</code> is not <code>null</code>, its <code>ownerDocument</code> attribute is set to the document being created. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a></code> object. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character. <br>
NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is malformed, if the <code>qualifiedName</code> has a prefix and the <code>namespaceURI</code> is <code>null</code>, or if the <code>qualifiedName</code> has a prefix that is "xml" and the <code>namespaceURI</code> is different from " <a href="http://www.w3.org/XML/1998/namespace">http://www.w3.org/XML/1998/namespace</a>" , or if the DOM implementation does not support the <code>"XML"</code> feature but a non-null namespace URI was provided, since namespaces were defined by XML. <br>
WRONG_DOCUMENT_ERR: Raised if <code>doctype</code> has already been used with a different document or was created from a different implementation. <br>
NOT_SUPPORTED_ERR: May be raised by DOM implementations which do not support the "XML" feature, if they choose not to support this method. Other features introduced in the future, by the DOM WG or in extensions defined by other groups, may also demand support for this method; please consult the definition of the feature to see if it requires this method. </td></tr>
</table>
</dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="9b466d651816289a84b75c845671e136"></a><!-- doxytag: member="xercesc::DOMImplementation::getInterface" ref="9b466d651816289a84b75c845671e136" args="(const XMLCh *feature)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a>* xercesc::DOMImplementation::getInterface </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>feature</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
This method makes available a <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code>'s specialized interface (see ).
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>feature</em>&nbsp;</td><td>The name of the feature requested (case-insensitive). </td></tr>
</table>
</dl>
2020-02-17 21:10:06 +00:00
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns an alternate <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code> which implements the specialized APIs of the specified feature, if any, or <code>null</code> if there is no alternate <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code> object which implements interfaces associated with that feature. Any alternate <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code> returned by this method must delegate to the primary core <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code> and not return results inconsistent with the primary <code><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a></code> </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div><p>
<a class="anchor" name="da281142c45d864705a466d907d03c0f"></a><!-- doxytag: member="xercesc::DOMImplementation::createDocument" ref="da281142c45d864705a466d907d03c0f" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>* xercesc::DOMImplementation::createDocument </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const &nbsp;</td>
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
2020-02-17 21:10:06 +00:00
</table>
</div>
<div class="memdoc">
<p>
Non-standard extension.
<p>
Create a completely empty document that has neither a root element or a doctype node.
</div>
</div><p>
<a class="anchor" name="bb3e3f7f6baaf9ffcb75f1a15c4d90a8"></a><!-- doxytag: member="xercesc::DOMImplementation::getImplementation" ref="bb3e3f7f6baaf9ffcb75f1a15c4d90a8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">static <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a>* xercesc::DOMImplementation::getImplementation </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [static]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
Non-standard extension.
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
Factory method for getting a <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> object. The DOM implementation retains ownership of the returned object. Application code should NOT delete it.
</div>
</div><p>
<a class="anchor" name="8dec389cdc723b861d0776cbfe0a6d36"></a><!-- doxytag: member="xercesc::DOMImplementation::loadDOMExceptionMsg" ref="8dec389cdc723b861d0776cbfe0a6d36" args="(const DOMException::ExceptionCode msgToLoad, XMLCh *const toFill, const unsigned int maxChars)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">static bool xercesc::DOMImplementation::loadDOMExceptionMsg </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">DOMException::ExceptionCode</a>&nbsp;</td>
<td class="paramname"> <em>msgToLoad</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLCh *const&nbsp;</td>
<td class="paramname"> <em>toFill</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const unsigned int&nbsp;</td>
<td class="paramname"> <em>maxChars</em></td><td>&nbsp;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [static]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
Non-standard extension.
<p>
2020-02-17 21:10:06 +00:00
Load the default error text message for <a class="el" href="classxercesc_1_1DOMException.html">DOMException</a>. <dl compact><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:05:20 +00:00
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 21:10:06 +00:00
<tr><td valign="top"></td><td valign="top"><em>msgToLoad</em>&nbsp;</td><td>The DOM ExceptionCode id to be processed </td></tr>
2020-02-17 21:05:20 +00:00
<tr><td valign="top"></td><td valign="top"><em>toFill</em>&nbsp;</td><td>The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>maxChars</em>&nbsp;</td><td>The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
</table>
</dl>
2020-02-17 21:10:06 +00:00
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the message is successfully loaded </dd></dl>
</div>
</div><p>
<a class="anchor" name="71abb8721ab4227a3e8e14098deb8124"></a><!-- doxytag: member="xercesc::DOMImplementation::loadDOMExceptionMsg" ref="71abb8721ab4227a3e8e14098deb8124" args="(const DOMRangeException::RangeExceptionCode msgToLoad, XMLCh *const toFill, const unsigned int maxChars)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">static bool xercesc::DOMImplementation::loadDOMExceptionMsg </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">DOMRangeException::RangeExceptionCode</a>&nbsp;</td>
<td class="paramname"> <em>msgToLoad</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLCh *const&nbsp;</td>
<td class="paramname"> <em>toFill</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const unsigned int&nbsp;</td>
<td class="paramname"> <em>maxChars</em></td><td>&nbsp;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [static]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
Non-standard extension.
<p>
2020-02-17 21:10:06 +00:00
Load the default error text message for <a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a>. <dl compact><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:05:20 +00:00
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 21:10:06 +00:00
<tr><td valign="top"></td><td valign="top"><em>msgToLoad</em>&nbsp;</td><td>The DOM RangeExceptionCode id to be processed </td></tr>
2020-02-17 21:05:20 +00:00
<tr><td valign="top"></td><td valign="top"><em>toFill</em>&nbsp;</td><td>The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>maxChars</em>&nbsp;</td><td>The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
</table>
</dl>
2020-02-17 21:10:06 +00:00
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the message is successfully loaded </dd></dl>
</div>
</div><p>
2020-02-17 21:05:20 +00:00
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMImplementation_8hpp-source.html">DOMImplementation.hpp</a></ul>
2020-02-17 21:10:06 +00:00
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 12 19:14:17 2007 for XQilla DOM Level 3 API by&nbsp;
2020-02-17 21:05:20 +00:00
<a href="http://www.doxygen.org/index.html">
2020-02-17 21:10:06 +00:00
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>