XQuilla/docs/dom3-api/classxercesc_1_1DOMLSInput.html

651 lines
31 KiB
HTML
Raw Normal View History

2020-02-17 22:17:06 +01:00
<!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&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
2020-02-17 22:19:08 +01:00
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
<h1>xercesc::DOMLSInput Class Reference</h1>This interface represents a single input source for an XML entity.
2020-02-17 22:17:06 +01:00
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMLSInput_8hpp-source.html">DOMLSInput.hpp</a>&gt;</code>
<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>
2020-02-17 22:19:08 +01:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z249_0">~DOMLSInput</a> ()</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#z249_0"></a><br></td></tr>
2020-02-17 22:17:06 +01:00
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
2020-02-17 22:19:08 +01:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_0">getStringData</a> () const =0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">String data to parse. <a href="#z251_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual InputSource *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_1">getByteStream</a> () const =0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the byte stream for this input source. <a href="#z251_1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_2">getEncoding</a> () const =0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</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#z251_8">setEncoding()</a> method. <a href="#z251_2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_3">getPublicId</a> () const =0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the public identifier for this input source. <a href="#z251_3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_4">getSystemId</a> () const =0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the system identifier for this input source. <a href="#z251_4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_5">getBaseURI</a> () const =0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the base URI to be used for resolving relative URIs to absolute URIs. <a href="#z251_5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_6">setStringData</a> (const XMLCh *data)=0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the UTF-16 string for this input source. <a href="#z251_6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_7">setByteStream</a> (InputSource *stream)=0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the byte stream for this input source. <a href="#z251_7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_8">setEncoding</a> (const XMLCh *const encodingStr)=0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</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="#z251_8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_9">setPublicId</a> (const XMLCh *const publicId)=0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the public identifier for this input source. <a href="#z251_9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_10">setSystemId</a> (const XMLCh *const systemId)=0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the system identifier for this input source. <a href="#z251_10"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_11">setBaseURI</a> (const XMLCh *const baseURI)=0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the base URI to be used for resolving relative URIs to absolute URIs. <a href="#z251_11"></a><br></td></tr>
2020-02-17 22:17:06 +01:00
<tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
2020-02-17 22:19:08 +01:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z253_0">setIssueFatalErrorIfNotFound</a> (bool flag)=0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicates if the parser should issue fatal error if this input source is not found. <a href="#z253_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z253_1">getIssueFatalErrorIfNotFound</a> () const =0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</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="#z253_1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z253_2">release</a> ()=0</td></tr>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:08 +01:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called to indicate that this <a class="el" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a> is no longer in use and that the implementation may relinquish any resources associated with it. <a href="#z253_2"></a><br></td></tr>
2020-02-17 22:17:06 +01:00
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
2020-02-17 22:19:08 +01:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMLSInput.html#z245_0">DOMLSInput</a> ()</td></tr>
2020-02-17 22:17:06 +01:00
</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>
2020-02-17 22:19:08 +01:00
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#z293_0">DOMLSResourceResolver.resolveResource</a> method.<p>
The <a class="el" href="classxercesc_1_1DOMLSParser.html">DOMLSParser</a> will use the <a class="el" href="classxercesc_1_1DOMLSInput.html">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">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 compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSParser.html#z273_5">DOMLSParser::parse</a> <p>
<a class="el" href="classxercesc_1_1DOMLSResourceResolver.html#z293_0">DOMLSResourceResolver::resolveResource</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<p>
2020-02-17 22:17:06 +01:00
<hr><h2>Constructor &amp; Destructor Documentation</h2>
2020-02-17 22:19:08 +01:00
<a class="anchor" name="z245_0" doxytag="xercesc::DOMLSInput::DOMLSInput"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">xercesc::DOMLSInput::DOMLSInput </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>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<a class="anchor" name="z249_0" doxytag="xercesc::DOMLSInput::~DOMLSInput"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual xercesc::DOMLSInput::~<a class="el" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a> </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>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
Destructor.
<p>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
2020-02-17 22:17:06 +01:00
<hr><h2>Member Function Documentation</h2>
2020-02-17 22:19:08 +01:00
<a class="anchor" name="z251_5" doxytag="xercesc::DOMLSInput::getBaseURI"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMLSInput::getBaseURI </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> const<code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Get the base URI to be used for resolving relative URIs to absolute URIs.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
If the baseURI is itself a relative URI, the behavior is implementation dependent.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The base URI. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_11">setBaseURI</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z251_1" doxytag="xercesc::DOMLSInput::getByteStream"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual InputSource* xercesc::DOMLSInput::getByteStream </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> const<code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
Returns the byte stream for this input source.
<p>
2020-02-17 22:19:08 +01:00
<dl compact><dt><b>See also:</b></dt><dd>InputSource </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z251_2" doxytag="xercesc::DOMLSInput::getEncoding"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMLSInput::getEncoding </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> const<code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
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#z251_8">setEncoding()</a> method.
2020-02-17 22:17:06 +01:00
<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>
2020-02-17 22:19:08 +01:00
<dl compact><dt><b>Returns:</b></dt><dd>The forced encoding, or null if none was supplied. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_8">setEncoding</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z253_1" doxytag="xercesc::DOMLSInput::getIssueFatalErrorIfNotFound"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual bool xercesc::DOMLSInput::getIssueFatalErrorIfNotFound </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> const<code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Get the flag that indicates if the parser should issue fatal error if this input source is not found.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
<dl 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 compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z253_0">setIssueFatalErrorIfNotFound</a> </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z251_3" doxytag="xercesc::DOMLSInput::getPublicId"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMLSInput::getPublicId </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> const<code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Get the public identifier for this input source.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
<dl compact><dt><b>Returns:</b></dt><dd>The public identifier, or null if none was supplied. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_9">setPublicId</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z251_0" doxytag="xercesc::DOMLSInput::getStringData"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMLSInput::getStringData </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> const<code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
String data to parse.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
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. </td>
</tr>
</table>
<a class="anchor" name="z251_4" doxytag="xercesc::DOMLSInput::getSystemId"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMLSInput::getSystemId </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> const<code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Get the system identifier for this input source.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
If the system ID is a URL, it will be fully resolved.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The system identifier. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_10">setSystemId</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z253_2" doxytag="xercesc::DOMLSInput::release"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMLSInput::release </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>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Called to indicate that this <a class="el" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a> is no longer in use and that the implementation may relinquish any resources associated with it.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Access to a released object will lead to unexpected result. </td>
</tr>
</table>
<a class="anchor" name="z251_11" doxytag="xercesc::DOMLSInput::setBaseURI"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMLSInput::setBaseURI </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *const &nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>baseURI</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Set the base URI to be used for resolving relative URIs to absolute URIs.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
If the baseURI is itself a relative URI, the behavior is implementation dependent.<p>
2020-02-17 22:17:06 +01:00
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 22:19:08 +01:00
<tr><td valign="top"></td><td valign="top"><em>baseURI</em>&nbsp;</td><td>The base URI. </td></tr>
2020-02-17 22:17:06 +01:00
</table>
</dl>
2020-02-17 22:19:08 +01:00
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_5">getBaseURI</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z251_7" doxytag="xercesc::DOMLSInput::setByteStream"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMLSInput::setByteStream </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">InputSource *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>stream</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Sets the byte stream for this input source.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
<dl compact><dt><b>See also:</b></dt><dd>BinInputStream </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z251_8" doxytag="xercesc::DOMLSInput::setEncoding"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMLSInput::setEncoding </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *const &nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>encodingStr</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Set the encoding which will be required for use with the XML text read via a stream opened by this input source.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
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>
2020-02-17 22:17:06 +01:00
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 22:19:08 +01:00
<tr><td valign="top"></td><td valign="top"><em>encodingStr</em>&nbsp;</td><td>The name of the encoding to force. </td></tr>
2020-02-17 22:17:06 +01:00
</table>
</dl>
2020-02-17 22:19:08 +01:00
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z253_0" doxytag="xercesc::DOMLSInput::setIssueFatalErrorIfNotFound"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMLSInput::setIssueFatalErrorIfNotFound </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">bool&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>flag</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Indicates if the parser should issue fatal error if this input source is not found.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
If set to false, the parser issue warning message instead.<p>
2020-02-17 22:17:06 +01:00
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 22:19:08 +01:00
<tr><td valign="top"></td><td valign="top"><em>flag</em>&nbsp;</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>
2020-02-17 22:17:06 +01:00
</table>
</dl>
2020-02-17 22:19:08 +01:00
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z253_1">getIssueFatalErrorIfNotFound</a> </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z251_9" doxytag="xercesc::DOMLSInput::setPublicId"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMLSInput::setPublicId </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *const &nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>publicId</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Set the public identifier for this input source.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
The public identifier is always optional: if the application writer includes one, it will be provided as part of the location information.<p>
2020-02-17 22:17:06 +01:00
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 22:19:08 +01:00
<tr><td valign="top"></td><td valign="top"><em>publicId</em>&nbsp;</td><td>The public identifier as a string. </td></tr>
2020-02-17 22:17:06 +01:00
</table>
</dl>
2020-02-17 22:19:08 +01:00
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_3">getPublicId</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z251_6" doxytag="xercesc::DOMLSInput::setStringData"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMLSInput::setStringData </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>data</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Sets the UTF-16 string for this input source.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<a class="anchor" name="z251_10" doxytag="xercesc::DOMLSInput::setSystemId"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 22:17:06 +01:00
<tr>
2020-02-17 22:19:08 +01:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMLSInput::setSystemId </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *const &nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>systemId</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
2020-02-17 22:17:06 +01:00
</tr>
</table>
2020-02-17 22:19:08 +01:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
Set the system identifier for this input source.
2020-02-17 22:17:06 +01:00
<p>
2020-02-17 22:19:08 +01:00
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>&nbsp;</td><td>The system identifier as a string. </td></tr>
</table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMLSInput.html#z251_4">getSystemId</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
2020-02-17 22:17:06 +01:00
<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>
2020-02-17 22:19:08 +01:00
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:55 2009 for XQilla DOM Level 3 API by&nbsp;
2020-02-17 22:17:06 +01:00
<a href="http://www.doxygen.org/index.html">
2020-02-17 22:19:08 +01:00
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
2020-02-17 22:17:06 +01:00
</body>
</html>