XQuilla/docs/dom3-api/classxercesc_1_1DOMImplementationLS.html
2020-02-17 22:05:20 +01:00

307 lines
19 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::DOMImplementationLS 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&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_1DOMImplementationLS.html">DOMImplementationLS</a></div>
<h1>xercesc::DOMImplementationLS Class Reference</h1><!-- doxytag: class="xercesc::DOMImplementationLS" --><code>#include &lt;<a class="el" href="DOMImplementationLS_8hpp-source.html">DOMImplementationLS.hpp</a>&gt;</code>
<p>
Inheritance diagram for xercesc::DOMImplementationLS:<p><center><img src="classxercesc_1_1DOMImplementationLS__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMImplementationLS__inherit__map" alt="Inheritance graph"></center>
<map name="xercesc_1_1DOMImplementationLS__inherit__map">
<area href="classxercesc_1_1DOMImplementation.html" shape="rect" coords="15,83,213,107" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxercesc_1_1DOMImplementationLS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public constants</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classxercesc_1_1DOMImplementationLS.html#36ae5ce4e657db2d0440fbbf4ef1c0a053d2a9f5cf70d6eabbe3beefc43dbbe6">MODE_SYNCHRONOUS</a> = 1,
<a class="el" href="classxercesc_1_1DOMImplementationLS.html#36ae5ce4e657db2d0440fbbf4ef1c0a0605f8a90494334b1f9d0a8a2ff9a6ba0">MODE_ASYNCHRONOUS</a> = 2
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a synchronous or an asynchronous <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code>. <a href="classxercesc_1_1DOMImplementationLS.html#36ae5ce4e657db2d0440fbbf4ef1c0a0">More...</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementationLS.html#42f559bbd187d976286e470a33f5c387">~DOMImplementationLS</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#42f559bbd187d976286e470a33f5c387"></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_1DOMBuilder.html">DOMBuilder</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementationLS.html#2631a3b73ab548bb01f83c80e623650e">createDOMBuilder</a> (const short mode, const XMLCh *const schemaType, <a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>, XMLGrammarPool *const gramPool=0)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a>. <a href="#2631a3b73ab548bb01f83c80e623650e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMWriter.html">DOMWriter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementationLS.html#b1c4eb461649f91694909906c68e00f2">createDOMWriter</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">Create a new <a class="el" href="classxercesc_1_1DOMWriter.html">DOMWriter</a>. <a href="#b1c4eb461649f91694909906c68e00f2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementationLS.html#530a0bf9b1dbdcc0a06dc8738e9e9d17">createDOMInputSource</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new "empty" <a class="el" href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a>. <a href="#530a0bf9b1dbdcc0a06dc8738e9e9d17"></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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementationLS.html#5390680547b3f02a0f3d3c13a48a612b">DOMImplementationLS</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<code><a class="el" href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a></code> contains the factory methods for creating objects that implement the <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code> (parser) and <code><a class="el" href="classxercesc_1_1DOMWriter.html">DOMWriter</a></code> (serializer) interfaces.<p>
An object that implements <a class="el" href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a> is obtained by doing a binding specific cast from <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> to <a class="el" href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a>. Implementations supporting the Load and Save feature must implement the <a class="el" href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a> interface on whatever object implements the <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> interface.<p>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="36ae5ce4e657db2d0440fbbf4ef1c0a0"></a><!-- doxytag: member="xercesc::DOMImplementationLS::@0" ref="36ae5ce4e657db2d0440fbbf4ef1c0a0" 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">anonymous enum </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create a synchronous or an asynchronous <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code>.
<p>
<dl compact><dt><b>See also:</b></dt><dd>createDOMBuilder(const short mode, const XMLCh* const schemaType) </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="36ae5ce4e657db2d0440fbbf4ef1c0a053d2a9f5cf70d6eabbe3beefc43dbbe6"></a><!-- doxytag: member="MODE_SYNCHRONOUS" ref="36ae5ce4e657db2d0440fbbf4ef1c0a053d2a9f5cf70d6eabbe3beefc43dbbe6" args="" -->MODE_SYNCHRONOUS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="36ae5ce4e657db2d0440fbbf4ef1c0a0605f8a90494334b1f9d0a8a2ff9a6ba0"></a><!-- doxytag: member="MODE_ASYNCHRONOUS" ref="36ae5ce4e657db2d0440fbbf4ef1c0a0605f8a90494334b1f9d0a8a2ff9a6ba0" args="" -->MODE_ASYNCHRONOUS</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="5390680547b3f02a0f3d3c13a48a612b"></a><!-- doxytag: member="xercesc::DOMImplementationLS::DOMImplementationLS" ref="5390680547b3f02a0f3d3c13a48a612b" 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::DOMImplementationLS::DOMImplementationLS </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="42f559bbd187d976286e470a33f5c387"></a><!-- doxytag: member="xercesc::DOMImplementationLS::~DOMImplementationLS" ref="42f559bbd187d976286e470a33f5c387" 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::DOMImplementationLS::~DOMImplementationLS </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor.
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2631a3b73ab548bb01f83c80e623650e"></a><!-- doxytag: member="xercesc::DOMImplementationLS::createDOMBuilder" ref="2631a3b73ab548bb01f83c80e623650e" args="(const short mode, const XMLCh *const schemaType, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager, XMLGrammarPool *const gramPool=0)=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_1DOMBuilder.html">DOMBuilder</a>* xercesc::DOMImplementationLS::createDOMBuilder </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const short&nbsp;</td>
<td class="mdname" nowrap> <em>mode</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const XMLCh *const &nbsp;</td>
<td class="mdname" nowrap> <em>schemaType</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 &nbsp;</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" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>XMLGrammarPool *const &nbsp;</td>
<td class="mdname" nowrap> <em>gramPool</em> = <code>0</code></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</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>
&nbsp;
</td>
<td>
<p>
Create a new <a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a>.
<p>
The newly constructed parser may then be configured by means of its setFeature method, and used to parse documents by means of its parse method.<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>mode</em>&nbsp;</td><td>The mode argument is either <code>MODE_SYNCHRONOUS</code> or <code>MODE_ASYNCHRONOUS</code>, if mode is <code>MODE_SYNCHRONOUS</code> then the <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code> that is created will operate in synchronous mode, if it's <code>MODE_ASYNCHRONOUS</code> then the <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code> that is created will operate in asynchronous mode. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>schemaType</em>&nbsp;</td><td>An absolute URI representing the type of the schema language used during the load of a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> using the newly created <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code>. Note that no lexical checking is done on the absolute URI. In order to create a <a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> for any kind of schema types (i.e. the <a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> will be free to use any schema found), use the value <code>null</code>. </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>
<tr><td valign="top"></td><td valign="top"><em>gramPool</em>&nbsp;</td><td>The collection of cached grammers. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The newly created <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code> object. This <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code> is either synchronous or asynchronous depending on the value of the <code>mode</code> argument. </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>NOT_SUPPORTED_ERR: Raised if the requested mode or schema type is not supported.</td></tr>
</table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="530a0bf9b1dbdcc0a06dc8738e9e9d17"></a><!-- doxytag: member="xercesc::DOMImplementationLS::createDOMInputSource" ref="530a0bf9b1dbdcc0a06dc8738e9e9d17" args="()=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_1DOMInputSource.html">DOMInputSource</a>* xercesc::DOMImplementationLS::createDOMInputSource </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create a new "empty" <a class="el" href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a>.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>Returns:</b></dt><dd>The newly created <code><a class="el" href="classxercesc_1_1DOMInputSource.html">DOMInputSource</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>NOT_SUPPORTED_ERR: Raised if this function is not supported by implementation</td></tr>
</table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="b1c4eb461649f91694909906c68e00f2"></a><!-- doxytag: member="xercesc::DOMImplementationLS::createDOMWriter" ref="b1c4eb461649f91694909906c68e00f2" 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_1DOMWriter.html">DOMWriter</a>* xercesc::DOMImplementationLS::createDOMWriter </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const &nbsp;</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">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create a new <a class="el" href="classxercesc_1_1DOMWriter.html">DOMWriter</a>.
<p>
DOMWriters are used to serialize a DOM tree back into an XML document.<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>Returns:</b></dt><dd>The newly created <code><a class="el" href="classxercesc_1_1DOMWriter.html">DOMWriter</a></code> object.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMWriter.html">DOMWriter</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMImplementationLS_8hpp-source.html">DOMImplementationLS.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:19:02 2006 for XQilla DOM Level 3 API by&nbsp;
<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>