411 lines
28 KiB
HTML
411 lines
28 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 DOM3 API Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.6.1 -->
|
|
<div class="navigation" id="top">
|
|
<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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</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="navpath"><a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>xercesc::DOMImplementation Class Reference</h1><!-- doxytag: class="xercesc::DOMImplementation" --><!-- doxytag: inherits="xercesc::DOMImplementationLS" -->
|
|
<p>The <code><a class="el" href="classxercesc_1_1DOMImplementation.html" title="The DOMImplementation interface provides a number of methods for performing operations...">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>
|
|
|
|
<p><code>#include <<a class="el" href="DOMImplementation_8hpp_source.html">DOMImplementation.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for xercesc::DOMImplementation:</div>
|
|
<div class="dynsection">
|
|
<div class="center"><img src="classxercesc_1_1DOMImplementation__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMImplementation_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="xercesc_1_1DOMImplementation_inherit__map" id="xercesc_1_1DOMImplementation_inherit__map">
|
|
<area shape="rect" href="classxercesc_1_1DOMImplementationLS.html" title="xercesc::DOMImplementationLS" alt="" coords="5,5,213,35"/></map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
|
|
<p><a href="classxercesc_1_1DOMImplementation-members.html">List of all members.</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
|
|
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp22a8ec108d963f279c6a6a95aa960a57"></a> </p>
|
|
<br/><br/></div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#aeb1dd496f5809c4c9c2c5429c0fca11f">~DOMImplementation</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aeb1dd496f5809c4c9c2c5429c0fca11f"></a><br/></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
|
|
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp24249042249e54f2e7b060cef8bc9ec0"></a> </p>
|
|
<br/><br/></div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#adb51fef562d70ff4a1097f3a238cfb17">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="#adb51fef562d70ff4a1097f3a238cfb17"></a><br/></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
|
|
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp8cb9d2ae562d364104f70ddb7c8dc904"></a> </p>
|
|
<br/><br/></div></td></tr>
|
|
<tr><td class="memItemLeft" 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#aa2abedbb67e6a04194a778cce3f55740">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" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> node. <a href="#aa2abedbb67e6a04194a778cce3f55740"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" 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#a37e8c9e3df6dd6a2bcdf80bb196e70d3">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#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>)=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> object of the specified type with its document element. <a href="#a37e8c9e3df6dd6a2bcdf80bb196e70d3"></a><br/></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
|
|
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpe66bc56f6aa2f55926da531545b17a33"></a> </p>
|
|
<br/><br/></div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#ae3fa6fe6d8c0df796c2a0bb50e349227">getFeature</a> (const XMLCh *feature, const XMLCh *version) const =0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in DOM Features. <a href="#ae3fa6fe6d8c0df796c2a0bb50e349227"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
|
|
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp7d629e77fff660516f7d86e8f54695d0"></a> </p>
|
|
<br/><br/></div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#a6618b35cb48c4c515977f4ba8f6d1901">DOMImplementation</a> ()</td></tr>
|
|
<tr><td colspan="2"><h2>Non-standard extension</h2></td></tr>
|
|
<tr><td colspan="2"><p><a class="anchor" id="amgrpac950e75a748042316ed91803032bbef"></a> </p>
|
|
<br/><br/></td></tr>
|
|
<tr><td class="memItemLeft" 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#ada281142c45d864705a466d907d03c0f">createDocument</a> (<a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>)=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Non-standard extension. <a href="#ada281142c45d864705a466d907d03c0f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" 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#abb3e3f7f6baaf9ffcb75f1a15c4d90a8">getImplementation</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Non-standard extension. <a href="#abb3e3f7f6baaf9ffcb75f1a15c4d90a8"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementation.html#adb09844ce170a3f3cffb81bd563d6a55">loadDOMExceptionMsg</a> (const short msgToLoad, XMLCh *const toFill, const XMLSize_t maxChars)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Non-standard extension. <a href="#adb09844ce170a3f3cffb81bd563d6a55"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>The <code><a class="el" href="classxercesc_1_1DOMImplementation.html" title="The DOMImplementation interface provides a number of methods for performing operations...">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" id="a6618b35cb48c4c515977f4ba8f6d1901"></a><!-- doxytag: member="xercesc::DOMImplementation::DOMImplementation" ref="a6618b35cb48c4c515977f4ba8f6d1901" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::DOMImplementation::DOMImplementation </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeb1dd496f5809c4c9c2c5429c0fca11f"></a><!-- doxytag: member="xercesc::DOMImplementation::~DOMImplementation" ref="aeb1dd496f5809c4c9c2c5429c0fca11f" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual xercesc::DOMImplementation::~DOMImplementation </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Destructor. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="ada281142c45d864705a466d907d03c0f"></a><!-- doxytag: member="xercesc::DOMImplementation::createDocument" ref="ada281142c45d864705a466d907d03c0f" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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 </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td>
|
|
<td> ) </td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Non-standard extension. </p>
|
|
<p>Create a completely empty document that has neither a root element or a doctype node. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a37e8c9e3df6dd6a2bcdf80bb196e70d3"></a><!-- doxytag: member="xercesc::DOMImplementation::createDocument" ref="a37e8c9e3df6dd6a2bcdf80bb196e70d3" args="(const XMLCh *namespaceURI, const XMLCh *qualifiedName, DOMDocumentType *doctype, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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 * </td>
|
|
<td class="paramname"> <em>namespaceURI</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh * </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> * </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 </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Creates a <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> object of the specified type with its document element. </p>
|
|
<dl><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>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> object. </dd></dl>
|
|
<dl><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 "
|
|
http://www.w3.org/XML/1998/namespace" , 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>
|
|
</dd>
|
|
</dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa2abedbb67e6a04194a778cce3f55740"></a><!-- doxytag: member="xercesc::DOMImplementation::createDocumentType" ref="aa2abedbb67e6a04194a778cce3f55740" args="(const XMLCh *qualifiedName, const XMLCh *publicId, const XMLCh *systemId)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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 * </td>
|
|
<td class="paramname"> <em>qualifiedName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>publicId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>systemId</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Creates an empty <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> node. </p>
|
|
<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" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code>. </p>
|
|
<dl><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>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> node with <code>ownerDocument</code> set to <code>null</code>. </dd></dl>
|
|
<dl><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>
|
|
</dd>
|
|
</dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae3fa6fe6d8c0df796c2a0bb50e349227"></a><!-- doxytag: member="xercesc::DOMImplementation::getFeature" ref="ae3fa6fe6d8c0df796c2a0bb50e349227" args="(const XMLCh *feature, const XMLCh *version) const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void* xercesc::DOMImplementation::getFeature </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>feature</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>version</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in DOM Features. </p>
|
|
<p>This method also allow the implementation to provide specialized objects which do not support the <code><a class="el" href="classxercesc_1_1DOMImplementation.html" title="The DOMImplementation interface provides a number of methods for performing operations...">DOMImplementation</a></code> interface.</p>
|
|
<dl><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). Note that any plus sign "+" prepended to the name of the feature will be ignored since it is not significant in the context of this method. </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. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns an object which implements the specialized APIs of the specified feature and version, if any, or null if there is no object which implements interfaces associated with that feature. </dd></dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abb3e3f7f6baaf9ffcb75f1a15c4d90a8"></a><!-- doxytag: member="xercesc::DOMImplementation::getImplementation" ref="abb3e3f7f6baaf9ffcb75f1a15c4d90a8" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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> ) </td>
|
|
<td><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Non-standard extension. </p>
|
|
<p>Factory method for getting a <a class="el" href="classxercesc_1_1DOMImplementation.html" title="The DOMImplementation interface provides a number of methods for performing operations...">DOMImplementation</a> object. The DOM implementation retains ownership of the returned object. Application code should NOT delete it. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adb51fef562d70ff4a1097f3a238cfb17"></a><!-- doxytag: member="xercesc::DOMImplementation::hasFeature" ref="adb51fef562d70ff4a1097f3a238cfb17" args="(const XMLCh *feature, const XMLCh *version) const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual bool xercesc::DOMImplementation::hasFeature </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>feature</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>version</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Test if the DOM implementation implements a specific feature. </p>
|
|
<dl><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>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><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"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adb09844ce170a3f3cffb81bd563d6a55"></a><!-- doxytag: member="xercesc::DOMImplementation::loadDOMExceptionMsg" ref="adb09844ce170a3f3cffb81bd563d6a55" args="(const short msgToLoad, XMLCh *const toFill, const XMLSize_t maxChars)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static bool xercesc::DOMImplementation::loadDOMExceptionMsg </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const short </td>
|
|
<td class="paramname"> <em>msgToLoad</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XMLCh *const </td>
|
|
<td class="paramname"> <em>toFill</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLSize_t </td>
|
|
<td class="paramname"> <em>maxChars</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Non-standard extension. </p>
|
|
<p>Load the default error text message for <a class="el" href="classxercesc_1_1DOMException.html">DOMException</a>. </p>
|
|
<dl><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>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the message is successfully loaded </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<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></li>
|
|
</ul>
|
|
</div>
|
|
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Mar 1 21:16:34 2010 for XQilla DOM Level 3 API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
|
|
</body>
|
|
</html>
|