520 lines
32 KiB
HTML
520 lines
32 KiB
HTML
<!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>
|
|
<!-- Generated by Doxygen 1.4.6 -->
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main 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 List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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 <<a class="el" href="DOMImplementation_8hpp-source.html">DOMImplementation.hpp</a>></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">
|
|
<area href="classxercesc_1_1DOMImplementationLS.html" shape="rect" coords="7,9,221,33" alt="">
|
|
</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> * </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"> </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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#bb3e3f7f6baaf9ffcb75f1a15c4d90a8">getImplementation</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </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"> </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 </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"> </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">Destructor</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#eb1dd496f5809c4c9c2c5429c0fca11f">~DOMImplementation</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#eb1dd496f5809c4c9c2c5429c0fca11f"></a><br></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#db51fef562d70ff4a1097f3a238cfb17">hasFeature</a> (const XMLCh *feature, const XMLCh *version) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Test if the DOM implementation implements a specific feature. <a href="#db51fef562d70ff4a1097f3a238cfb17"></a><br></td></tr>
|
|
<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> * </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"> </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> * </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"> </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> * </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"> </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>
|
|
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#6618b35cb48c4c515977f4ba8f6d1901">DOMImplementation</a> ()</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 & Destructor Documentation</h2>
|
|
<a class="anchor" name="6618b35cb48c4c515977f4ba8f6d1901"></a><!-- doxytag: member="xercesc::DOMImplementation::DOMImplementation" ref="6618b35cb48c4c515977f4ba8f6d1901" args="()" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">xercesc::DOMImplementation::DOMImplementation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="eb1dd496f5809c4c9c2c5429c0fca11f"></a><!-- doxytag: member="xercesc::DOMImplementation::~DOMImplementation" ref="eb1dd496f5809c4c9c2c5429c0fca11f" args="()" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual xercesc::DOMImplementation::~DOMImplementation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Destructor.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="da281142c45d864705a466d907d03c0f"></a><!-- doxytag: member="xercesc::DOMImplementation::createDocument" ref="da281142c45d864705a466d907d03c0f" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)=0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>* xercesc::DOMImplementation::createDocument </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Non-standard extension.
|
|
<p>
|
|
Create a completely empty document that has neither a root element or a doctype node. </td>
|
|
</tr>
|
|
</table>
|
|
<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" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>* xercesc::DOMImplementation::createDocument </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const XMLCh * </td>
|
|
<td class="mdname" nowrap> <em>namespaceURI</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const XMLCh * </td>
|
|
<td class="mdname" nowrap> <em>qualifiedName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap><a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> * </td>
|
|
<td class="mdname" nowrap> <em>doctype</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="mdname" nowrap> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Creates a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> object of the specified type with its document element.
|
|
<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>namespaceURI</em> </td><td>The namespace URI of the document element to create. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>qualifiedName</em> </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> </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> </td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl 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> </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 compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a2abedbb67e6a04194a778cce3f55740"></a><!-- doxytag: member="xercesc::DOMImplementation::createDocumentType" ref="a2abedbb67e6a04194a778cce3f55740" args="(const XMLCh *qualifiedName, const XMLCh *publicId, const XMLCh *systemId)=0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a>* xercesc::DOMImplementation::createDocumentType </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const XMLCh * </td>
|
|
<td class="mdname" nowrap> <em>qualifiedName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const XMLCh * </td>
|
|
<td class="mdname" nowrap> <em>publicId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const XMLCh * </td>
|
|
<td class="mdname" nowrap> <em>systemId</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<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> </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> </td><td>The external subset public identifier. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>systemId</em> </td><td>The external subset system identifier. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl 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>
|
|
<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> </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>
|
|
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="bb3e3f7f6baaf9ffcb75f1a15c4d90a8"></a><!-- doxytag: member="xercesc::DOMImplementation::getImplementation" ref="bb3e3f7f6baaf9ffcb75f1a15c4d90a8" args="()" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">static <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a>* xercesc::DOMImplementation::getImplementation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Non-standard extension.
|
|
<p>
|
|
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. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="9b466d651816289a84b75c845671e136"></a><!-- doxytag: member="xercesc::DOMImplementation::getInterface" ref="9b466d651816289a84b75c845671e136" args="(const XMLCh *feature)=0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a>* xercesc::DOMImplementation::getInterface </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const XMLCh * </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>feature</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<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> </td><td>The name of the feature requested (case-insensitive). </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl 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 compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="db51fef562d70ff4a1097f3a238cfb17"></a><!-- doxytag: member="xercesc::DOMImplementation::hasFeature" ref="db51fef562d70ff4a1097f3a238cfb17" args="(const XMLCh *feature, const XMLCh *version) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual bool xercesc::DOMImplementation::hasFeature </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const XMLCh * </td>
|
|
<td class="mdname" nowrap> <em>feature</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const XMLCh * </td>
|
|
<td class="mdname" nowrap> <em>version</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Test if the DOM implementation implements a specific feature.
|
|
<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> </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> </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>
|
|
</table>
|
|
</dl>
|
|
<dl 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 compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<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)" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">static bool xercesc::DOMImplementation::loadDOMExceptionMsg </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">DOMRangeException::RangeExceptionCode</a> </td>
|
|
<td class="mdname" nowrap> <em>msgToLoad</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>XMLCh *const </td>
|
|
<td class="mdname" nowrap> <em>toFill</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const unsigned int </td>
|
|
<td class="mdname" nowrap> <em>maxChars</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Non-standard extension.
|
|
<p>
|
|
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>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>msgToLoad</em> </td><td>The DOM RangeExceptionCode id to be processed </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>toFill</em> </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> </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>
|
|
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the message is successfully loaded </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<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)" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">static bool xercesc::DOMImplementation::loadDOMExceptionMsg </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">DOMException::ExceptionCode</a> </td>
|
|
<td class="mdname" nowrap> <em>msgToLoad</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>XMLCh *const </td>
|
|
<td class="mdname" nowrap> <em>toFill</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const unsigned int </td>
|
|
<td class="mdname" nowrap> <em>maxChars</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Non-standard extension.
|
|
<p>
|
|
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>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>msgToLoad</em> </td><td>The DOM ExceptionCode id to be processed </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>toFill</em> </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> </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>
|
|
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the message is successfully loaded </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<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>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 12 16:52:12 2007 for XQilla DOM Level 3 API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
|
|
</body>
|
|
</html>
|