<h1>xercesc::DOMImplementationLS Class Reference</h1><!-- doxytag: class="xercesc::DOMImplementationLS" --><code>#include <<aclass="el"href="DOMImplementationLS_8hpp-source.html">DOMImplementationLS.hpp</a>></code>
<p>
Inheritance diagram for xercesc::DOMImplementationLS:<p><center><imgsrc="classxercesc_1_1DOMImplementationLS__inherit__graph.png"border="0"usemap="#xercesc_1_1DOMImplementationLS__inherit__map"alt="Inheritance graph"></center>
<center><fontsize="2">[<ahref="graph_legend.html">legend</a>]</font></center><ahref="classxercesc_1_1DOMImplementationLS-members.html">List of all members.</a><tableborder="0"cellpadding="0"cellspacing="0">
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create a synchronous or an asynchronous <code><aclass="el"href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code>. <ahref="classxercesc_1_1DOMImplementationLS.html#36ae5ce4e657db2d0440fbbf4ef1c0a0">More...</a><br></td></tr>
<tr><tdcolspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><tdcolspan="2"><divclass="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create a new <aclass="el"href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a>. <ahref="#2631a3b73ab548bb01f83c80e623650e"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create a new <aclass="el"href="classxercesc_1_1DOMWriter.html">DOMWriter</a>. <ahref="#b1c4eb461649f91694909906c68e00f2"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create a new "empty" <aclass="el"href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a>. <ahref="#530a0bf9b1dbdcc0a06dc8738e9e9d17"></a><br></td></tr>
<code><aclass="el"href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a></code> contains the factory methods for creating objects that implement the <code><aclass="el"href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code> (parser) and <code><aclass="el"href="classxercesc_1_1DOMWriter.html">DOMWriter</a></code> (serializer) interfaces.<p>
An object that implements <aclass="el"href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a> is obtained by doing a binding specific cast from <aclass="el"href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> to <aclass="el"href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a>. Implementations supporting the Load and Save feature must implement the <aclass="el"href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a> interface on whatever object implements the <aclass="el"href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> interface.<p>
Create a new <aclass="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>
<dlcompact><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>mode</em> </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><aclass="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><aclass="el"href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code> that is created will operate in asynchronous mode. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>schemaType</em> </td><td>An absolute URI representing the type of the schema language used during the load of a <aclass="el"href="classxercesc_1_1DOMDocument.html">DOMDocument</a> using the newly created <code><aclass="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 <aclass="el"href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> for any kind of schema types (i.e. the <aclass="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><tdvalign="top"></td><tdvalign="top"><em>manager</em> </td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>gramPool</em> </td><td>The collection of cached grammers. </td></tr>
<dlclass="return"compact><dt><b>Returns:</b></dt><dd>The newly created <code><aclass="el"href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code> object. This <code><aclass="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>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>NOT_SUPPORTED_ERR: Raised if the requested mode or schema type is not supported.</td></tr>
<dlclass="return"compact><dt><b>Returns:</b></dt><dd>The newly created <code><aclass="el"href="classxercesc_1_1DOMWriter.html">DOMWriter</a></code> object.</dd></dl>
<dlclass="return"compact><dt><b>Returns:</b></dt><dd>The newly created <code><aclass="el"href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a></code> object. </dd></dl>
<dlcompact><dt><b>Exceptions:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>NOT_SUPPORTED_ERR: Raised if this function is not supported by implementation</td></tr>