291 lines
18 KiB
HTML
291 lines
18 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.5.1 -->
|
|
<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_1DOMImplementationLS.html">DOMImplementationLS</a></div>
|
|
<h1>xercesc::DOMImplementationLS Class Reference</h1><!-- doxytag: class="xercesc::DOMImplementationLS" --><code>#include <<a class="el" href="DOMImplementationLS_8hpp-source.html">DOMImplementationLS.hpp</a>></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="13,81,235,105" 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 </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"> </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">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> * </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"> </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> * </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"> </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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMImplementationLS.html#530a0bf9b1dbdcc0a06dc8738e9e9d17">createDOMInputSource</a> ()=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>
|
|
</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 class="since" 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="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">anonymous enum </td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Create a synchronous or an asynchronous <code><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a></code>.
|
|
<p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd>createDOMBuilder(const short mode, const XMLCh* const schemaType) </dd></dl>
|
|
<dl class="since" 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> </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> </td><td>
|
|
</td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="5390680547b3f02a0f3d3c13a48a612b"></a><!-- doxytag: member="xercesc::DOMImplementationLS::DOMImplementationLS" ref="5390680547b3f02a0f3d3c13a48a612b" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::DOMImplementationLS::DOMImplementationLS </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="42f559bbd187d976286e470a33f5c387"></a><!-- doxytag: member="xercesc::DOMImplementationLS::~DOMImplementationLS" ref="42f559bbd187d976286e470a33f5c387" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual xercesc::DOMImplementationLS::~DOMImplementationLS </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Destructor.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="5390680547b3f02a0f3d3c13a48a612b"></a><!-- doxytag: member="xercesc::DOMImplementationLS::DOMImplementationLS" ref="5390680547b3f02a0f3d3c13a48a612b" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::DOMImplementationLS::DOMImplementationLS </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="42f559bbd187d976286e470a33f5c387"></a><!-- doxytag: member="xercesc::DOMImplementationLS::~DOMImplementationLS" ref="42f559bbd187d976286e470a33f5c387" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual xercesc::DOMImplementationLS::~DOMImplementationLS </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Destructor.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<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" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a>* xercesc::DOMImplementationLS::createDOMBuilder </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const short </td>
|
|
<td class="paramname"> <em>mode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>schemaType</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#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XMLGrammarPool *const </td>
|
|
<td class="paramname"> <em>gramPool</em> = <code>0</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<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> </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> </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> </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> </td><td>The collection of cached grammers. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="return" 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> </td><td>NOT_SUPPORTED_ERR: Raised if the requested mode or schema type is not supported.</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="b1c4eb461649f91694909906c68e00f2"></a><!-- doxytag: member="xercesc::DOMImplementationLS::createDOMWriter" ref="b1c4eb461649f91694909906c68e00f2" 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_1DOMWriter.html">DOMWriter</a>* xercesc::DOMImplementationLS::createDOMWriter </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#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<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 class="return" 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 class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMWriter.html">DOMWriter</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="530a0bf9b1dbdcc0a06dc8738e9e9d17"></a><!-- doxytag: member="xercesc::DOMImplementationLS::createDOMInputSource" ref="530a0bf9b1dbdcc0a06dc8738e9e9d17" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a>* xercesc::DOMImplementationLS::createDOMInputSource </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Create a new "empty" <a class="el" href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a>.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="return" 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> </td><td>NOT_SUPPORTED_ERR: Raised if this function is not supported by implementation</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMInputSource.html">DOMInputSource</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<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 Wed Dec 12 19:14:17 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.5.1 </small></address>
|
|
</body>
|
|
</html>
|