536 lines
31 KiB
HTML
536 lines
31 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.5.5 -->
|
|
<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="classes.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="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="navpath"><a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>xercesc::DOMLSInput Class Reference</h1><!-- doxytag: class="xercesc::DOMLSInput" -->This interface represents a single input source for an XML entity.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="DOMLSInput_8hpp-source.html">DOMLSInput.hpp</a>></code>
|
|
<p>
|
|
|
|
<p>
|
|
<a href="classxercesc_1_1DOMLSInput-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 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_1DOMLSInput.html#c48b01e5cdace76bb848b0da0d52d3b1">~DOMLSInput</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#c48b01e5cdace76bb848b0da0d52d3b1"></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 const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#e8ff867429d01bf3b1bee3ecbf6e2a07">getStringData</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">String data to parse. <a href="#e8ff867429d01bf3b1bee3ecbf6e2a07"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual InputSource * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#15ccc28e3a8f3e04f3c7b081b97e60f5">getByteStream</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the byte stream for this input source. <a href="#15ccc28e3a8f3e04f3c7b081b97e60f5"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#14f7c3eb37ab6278917e2977c02a441f">getEncoding</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">An input source can be set to force the parser to assume a particular encoding for the data that input source reprsents, via the <a class="el" href="classxercesc_1_1DOMLSInput.html#21b3c92204b97d6a0aa984a3c2af819e" title="Set the encoding which will be required for use with the XML text read via a stream...">setEncoding()</a> method. <a href="#14f7c3eb37ab6278917e2977c02a441f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#b9346cf3b82ddd7ff7717aad816868d4">getPublicId</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the public identifier for this input source. <a href="#b9346cf3b82ddd7ff7717aad816868d4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#0b7a5f2068fe810464f450b8fdd3283b">getSystemId</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the system identifier for this input source. <a href="#0b7a5f2068fe810464f450b8fdd3283b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#205eafad25448439f5247752d8d885ef">getBaseURI</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the base URI to be used for resolving relative URIs to absolute URIs. <a href="#205eafad25448439f5247752d8d885ef"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#6267db4bfc070b218e0c91636e0a3cd7">setStringData</a> (const XMLCh *data)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the UTF-16 string for this input source. <a href="#6267db4bfc070b218e0c91636e0a3cd7"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#b49e94b2ac790cba40a3c6d45c3f6702">setByteStream</a> (InputSource *stream)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the byte stream for this input source. <a href="#b49e94b2ac790cba40a3c6d45c3f6702"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#21b3c92204b97d6a0aa984a3c2af819e">setEncoding</a> (const XMLCh *const encodingStr)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the encoding which will be required for use with the XML text read via a stream opened by this input source. <a href="#21b3c92204b97d6a0aa984a3c2af819e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#07506eff78dc0d3eabf55fdeb643f849">setPublicId</a> (const XMLCh *const publicId)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the public identifier for this input source. <a href="#07506eff78dc0d3eabf55fdeb643f849"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#966feb23f7b008577e3abb024b63dc00">setSystemId</a> (const XMLCh *const systemId)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the system identifier for this input source. <a href="#966feb23f7b008577e3abb024b63dc00"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#7c2062294a6b7dcd3711dd231165bfc9">setBaseURI</a> (const XMLCh *const baseURI)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the base URI to be used for resolving relative URIs to absolute URIs. <a href="#7c2062294a6b7dcd3711dd231165bfc9"></a><br></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#b40e45478b4000e4eec6bb1bd01f78c0">setIssueFatalErrorIfNotFound</a> (bool flag)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates if the parser should issue fatal error if this input source is not found. <a href="#b40e45478b4000e4eec6bb1bd01f78c0"></a><br></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_1DOMLSInput.html#91598914c01cd005aa67e64d1c7f7969">getIssueFatalErrorIfNotFound</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the flag that indicates if the parser should issue fatal error if this input source is not found. <a href="#91598914c01cd005aa67e64d1c7f7969"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#50a67426e3450a71bfdbb4b1f6fca8a7">release</a> ()=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Called to indicate that this <a class="el" href="classxercesc_1_1DOMLSInput.html" title="This interface represents a single input source for an XML entity.">DOMLSInput</a> is no longer in use and that the implementation may relinquish any resources associated with it. <a href="#50a67426e3450a71bfdbb4b1f6fca8a7"></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_1DOMLSInput.html#8733afa633d8ed541bcdc99abb147148">DOMLSInput</a> ()</td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
This interface represents a single input source for an XML entity.
|
|
<p>
|
|
This interface allows an application to encapsulate information about an input source in a single object, which may include a public identifier, a system identifier, a byte stream (possibly with a specified encoding), and/or a character stream.<p>
|
|
There are two places that the application will deliver this input source to the parser: as the argument to the parse method, or as the return value of the <a class="el" href="classxercesc_1_1DOMLSResourceResolver.html#870cdd90d3040cb3671330ab018831a3" title="Allow the application to resolve external resources.">DOMLSResourceResolver.resolveResource</a> method.<p>
|
|
The <a class="el" href="classxercesc_1_1DOMLSParser.html" title="DOMLSParser provides an API for parsing XML documents and building the corresponding...">DOMLSParser</a> will use the <a class="el" href="classxercesc_1_1DOMLSInput.html" title="This interface represents a single input source for an XML entity.">DOMLSInput</a> object to determine how to read XML input. If there is a character stream available, the parser will read that stream directly; if not, the parser will use a byte stream, if available; if neither a character stream nor a byte stream is available, the parser will attempt to open a URI connection to the resource identified by the system identifier.<p>
|
|
A <a class="el" href="classxercesc_1_1DOMLSInput.html" title="This interface represents a single input source for an XML entity.">DOMLSInput</a> object belongs to the application: the parser shall never modify it in any way (it may modify a copy if necessary).<p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSParser.html#1c0b1c6bddfd8a318be22575e1c2b35a" title="Parse an XML document from a resource identified by a DOMLSInput.">DOMLSParser::parse</a> <p>
|
|
<a class="el" href="classxercesc_1_1DOMLSResourceResolver.html#870cdd90d3040cb3671330ab018831a3" title="Allow the application to resolve external resources.">DOMLSResourceResolver::resolveResource</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="8733afa633d8ed541bcdc99abb147148"></a><!-- doxytag: member="xercesc::DOMLSInput::DOMLSInput" ref="8733afa633d8ed541bcdc99abb147148" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::DOMLSInput::DOMLSInput </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="c48b01e5cdace76bb848b0da0d52d3b1"></a><!-- doxytag: member="xercesc::DOMLSInput::~DOMLSInput" ref="c48b01e5cdace76bb848b0da0d52d3b1" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual xercesc::DOMLSInput::~DOMLSInput </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="e8ff867429d01bf3b1bee3ecbf6e2a07"></a><!-- doxytag: member="xercesc::DOMLSInput::getStringData" ref="e8ff867429d01bf3b1bee3ecbf6e2a07" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* xercesc::DOMLSInput::getStringData </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
String data to parse.
|
|
<p>
|
|
If provided, this will always be treated as a sequence of 16-bit units (UTF-16 encoded characters). It is not a requirement to have an XML declaration when using stringData. If an XML declaration is present, the value of the encoding attribute will be ignored.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="15ccc28e3a8f3e04f3c7b081b97e60f5"></a><!-- doxytag: member="xercesc::DOMLSInput::getByteStream" ref="15ccc28e3a8f3e04f3c7b081b97e60f5" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual InputSource* xercesc::DOMLSInput::getByteStream </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Returns the byte stream for this input source.
|
|
<p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd>InputSource </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="14f7c3eb37ab6278917e2977c02a441f"></a><!-- doxytag: member="xercesc::DOMLSInput::getEncoding" ref="14f7c3eb37ab6278917e2977c02a441f" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* xercesc::DOMLSInput::getEncoding </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
An input source can be set to force the parser to assume a particular encoding for the data that input source reprsents, via the <a class="el" href="classxercesc_1_1DOMLSInput.html#21b3c92204b97d6a0aa984a3c2af819e" title="Set the encoding which will be required for use with the XML text read via a stream...">setEncoding()</a> method.
|
|
<p>
|
|
This method returns name of the encoding that is to be forced. If the encoding has never been forced, it returns a null pointer.<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The forced encoding, or null if none was supplied. </dd></dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#21b3c92204b97d6a0aa984a3c2af819e" title="Set the encoding which will be required for use with the XML text read via a stream...">setEncoding</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="b9346cf3b82ddd7ff7717aad816868d4"></a><!-- doxytag: member="xercesc::DOMLSInput::getPublicId" ref="b9346cf3b82ddd7ff7717aad816868d4" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* xercesc::DOMLSInput::getPublicId </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the public identifier for this input source.
|
|
<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The public identifier, or null if none was supplied. </dd></dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#07506eff78dc0d3eabf55fdeb643f849" title="Set the public identifier for this input source.">setPublicId</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="0b7a5f2068fe810464f450b8fdd3283b"></a><!-- doxytag: member="xercesc::DOMLSInput::getSystemId" ref="0b7a5f2068fe810464f450b8fdd3283b" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* xercesc::DOMLSInput::getSystemId </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the system identifier for this input source.
|
|
<p>
|
|
If the system ID is a URL, it will be fully resolved.<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The system identifier. </dd></dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#966feb23f7b008577e3abb024b63dc00" title="Set the system identifier for this input source.">setSystemId</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="205eafad25448439f5247752d8d885ef"></a><!-- doxytag: member="xercesc::DOMLSInput::getBaseURI" ref="205eafad25448439f5247752d8d885ef" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* xercesc::DOMLSInput::getBaseURI </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the base URI to be used for resolving relative URIs to absolute URIs.
|
|
<p>
|
|
If the baseURI is itself a relative URI, the behavior is implementation dependent.<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The base URI. </dd></dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#7c2062294a6b7dcd3711dd231165bfc9" title="Set the base URI to be used for resolving relative URIs to absolute URIs.">setBaseURI</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="6267db4bfc070b218e0c91636e0a3cd7"></a><!-- doxytag: member="xercesc::DOMLSInput::setStringData" ref="6267db4bfc070b218e0c91636e0a3cd7" args="(const XMLCh *data)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMLSInput::setStringData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>data</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Sets the UTF-16 string for this input source.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="b49e94b2ac790cba40a3c6d45c3f6702"></a><!-- doxytag: member="xercesc::DOMLSInput::setByteStream" ref="b49e94b2ac790cba40a3c6d45c3f6702" args="(InputSource *stream)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMLSInput::setByteStream </td>
|
|
<td>(</td>
|
|
<td class="paramtype">InputSource * </td>
|
|
<td class="paramname"> <em>stream</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Sets the byte stream for this input source.
|
|
<p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd>BinInputStream </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="21b3c92204b97d6a0aa984a3c2af819e"></a><!-- doxytag: member="xercesc::DOMLSInput::setEncoding" ref="21b3c92204b97d6a0aa984a3c2af819e" args="(const XMLCh *const encodingStr)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMLSInput::setEncoding </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>encodingStr</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the encoding which will be required for use with the XML text read via a stream opened by this input source.
|
|
<p>
|
|
This is usually not set, allowing the encoding to be sensed in the usual XML way. However, in some cases, the encoding in the file is known to be incorrect because of intermediate transcoding, for instance encapsulation within a MIME document.<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>encodingStr</em> </td><td>The name of the encoding to force. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="07506eff78dc0d3eabf55fdeb643f849"></a><!-- doxytag: member="xercesc::DOMLSInput::setPublicId" ref="07506eff78dc0d3eabf55fdeb643f849" args="(const XMLCh *const publicId)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMLSInput::setPublicId </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>publicId</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the public identifier for this input source.
|
|
<p>
|
|
The public identifier is always optional: if the application writer includes one, it will be provided as part of the location information.<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>publicId</em> </td><td>The public identifier as a string. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#b9346cf3b82ddd7ff7717aad816868d4" title="Get the public identifier for this input source.">getPublicId</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="966feb23f7b008577e3abb024b63dc00"></a><!-- doxytag: member="xercesc::DOMLSInput::setSystemId" ref="966feb23f7b008577e3abb024b63dc00" args="(const XMLCh *const systemId)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMLSInput::setSystemId </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>systemId</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the system identifier for this input source.
|
|
<p>
|
|
The system id is always required. The public id may be used to map to another system id, but the system id must always be present as a fall back.<p>
|
|
If the system ID is a URL, it must be fully resolved.<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>systemId</em> </td><td>The system identifier as a string. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#0b7a5f2068fe810464f450b8fdd3283b" title="Get the system identifier for this input source.">getSystemId</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="7c2062294a6b7dcd3711dd231165bfc9"></a><!-- doxytag: member="xercesc::DOMLSInput::setBaseURI" ref="7c2062294a6b7dcd3711dd231165bfc9" args="(const XMLCh *const baseURI)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMLSInput::setBaseURI </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>baseURI</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the base URI to be used for resolving relative URIs to absolute URIs.
|
|
<p>
|
|
If the baseURI is itself a relative URI, the behavior is implementation dependent.<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>baseURI</em> </td><td>The base URI. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#205eafad25448439f5247752d8d885ef" title="Get the base URI to be used for resolving relative URIs to absolute URIs.">getBaseURI</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="b40e45478b4000e4eec6bb1bd01f78c0"></a><!-- doxytag: member="xercesc::DOMLSInput::setIssueFatalErrorIfNotFound" ref="b40e45478b4000e4eec6bb1bd01f78c0" args="(bool flag)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMLSInput::setIssueFatalErrorIfNotFound </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>flag</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Indicates if the parser should issue fatal error if this input source is not found.
|
|
<p>
|
|
If set to false, the parser issue warning message instead.<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>flag</em> </td><td>True if the parser should issue fatal error if this input source is not found. If set to false, the parser issue warning message instead. (Default: true)</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#91598914c01cd005aa67e64d1c7f7969" title="Get the flag that indicates if the parser should issue fatal error if this input...">getIssueFatalErrorIfNotFound</a> </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="91598914c01cd005aa67e64d1c7f7969"></a><!-- doxytag: member="xercesc::DOMLSInput::getIssueFatalErrorIfNotFound" ref="91598914c01cd005aa67e64d1c7f7969" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual bool xercesc::DOMLSInput::getIssueFatalErrorIfNotFound </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the flag that indicates if the parser should issue fatal error if this input source is not found.
|
|
<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the parser should issue fatal error if this input source is not found. False if the parser issue warning message instead. </dd></dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#b40e45478b4000e4eec6bb1bd01f78c0" title="Indicates if the parser should issue fatal error if this input source is not found...">setIssueFatalErrorIfNotFound</a> </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="50a67426e3450a71bfdbb4b1f6fca8a7"></a><!-- doxytag: member="xercesc::DOMLSInput::release" ref="50a67426e3450a71bfdbb4b1f6fca8a7" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMLSInput::release </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Called to indicate that this <a class="el" href="classxercesc_1_1DOMLSInput.html" title="This interface represents a single input source for an XML entity.">DOMLSInput</a> is no longer in use and that the implementation may relinquish any resources associated with it.
|
|
<p>
|
|
Access to a released object will lead to unexpected result.
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="DOMLSInput_8hpp-source.html">DOMLSInput.hpp</a></ul>
|
|
</div>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:54:57 2009 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.5 </small></address>
|
|
</body>
|
|
</html>
|