<areashape="rect"id="node5"href="classxercesc_1_1LocalFileInputSource.html"title="This class is a derivative of the standard InputSource class."alt=""coords="383,5,580,35"/><areashape="rect"id="node7"href="classxercesc_1_1MemBufInputSource.html"title="This class is a derivative of the standard InputSource class."alt=""coords="384,59,579,88"/><areashape="rect"id="node9"href="classxercesc_1_1StdInInputSource.html"title="This class is a derivative of the standard InputSource class."alt=""coords="393,112,569,141"/><areashape="rect"id="node11"href="classxercesc_1_1URLInputSource.html"title="This class is a derivative of the standard InputSource class."alt=""coords="395,165,568,195"/><areashape="rect"id="node2"href="classxercesc_1_1XMemory.html"title="This class makes it possible to override the C++ memory management by adding new/delete operators to ..."alt=""coords="7,85,137,115"/></map>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Makes the byte stream for this input source. <ahref="#a9d3101df0ae8a72045f81a7028bc36d8"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="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 <aclass="el"href="classxercesc_1_1InputSource.html#a38edffa85c69a79705506dc674f370ca"title="Set the encoding which will be required for use with the XML text read via a stream opened by this in...">setEncoding()</a> method. <ahref="#a6f150d285d4ce368ce7a6f94f65f2957"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the public identifier for this input source. <ahref="#a192a9028168663eb4fb1e905e41837d8"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the system identifier for this input source. <ahref="#a95ae54667532f3cbc9ec4a734541d0f5"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the flag that indicates if the parser should issue fatal error if this input source is not found. <ahref="#a3184b9e26e147b88d0eae9b09f39910d"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Set the encoding which will be required for use with the XML text read via a stream opened by this input source. <ahref="#a38edffa85c69a79705506dc674f370ca"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Set the public identifier for this input source. <ahref="#ad88b92735d82dcadf39496ca83357aec"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Set the system identifier for this input source. <ahref="#a3542f513fd873dd217ce1972b041182b"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Indicates if the parser should issue fatal error if this input source is not found. <ahref="#a30493e827beb6798632d40f81be064c7"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructor with a system identifier as XMLCh type. <ahref="#a4a73a8e57de0eb17e5f5c53cb838dce6"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructor with a system and public identifiers. <ahref="#ad7b79c573ccaa32680e6d7cbc0cc644c"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructor witha system identifier as string. <ahref="#ad16637d2929e9e193061186c994f7308"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructor witha system and public identifiers. <ahref="#a619e49d0a44dffdba3e30566754ef99e"></a><br/></td></tr>
<p>This class encapsulates information about an input source in a single object, which may include a public identifier or a system identifier</p>
<p>There are two places that the application will deliver this input source to the parser: as the argument to the Parser::parse method, or as the return value of the EntityResolver::resolveEntity method.</p>
<p><aclass="el"href="classxercesc_1_1InputSource.html"title="A single input source for an XML entity.">InputSource</a> is never used directly, but is the base class for a number of derived classes for particular types of input sources. Derivatives are provided (in the framework/ directory) for URL input sources, memory buffer input sources, and so on.</p>
<p>When it is time to parse the input described by an input source, it will be asked to create a binary stream for that source. That stream will be used to input the data of the source. The derived class provides the implementation of the <aclass="el"href="classxercesc_1_1InputSource.html#a9d3101df0ae8a72045f81a7028bc36d8"title="Makes the byte stream for this input source.">makeStream()</a> method, and provides a type of stream of the correct type for the input source it represents.</p>
<p>An <aclass="el"href="classxercesc_1_1InputSource.html"title="A single input source for an XML entity.">InputSource</a> object belongs to the application: the parser never modifies them in any way. They are always passed by const reference so the parser will make a copy of any input sources that it must keep around beyond the call.</p>
<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 <aclass="el"href="classxercesc_1_1InputSource.html#a38edffa85c69a79705506dc674f370ca"title="Set the encoding which will be required for use with the XML text read via a stream opened by this in...">setEncoding()</a> method. </p>
<dlclass="see"><dt><b>See also:</b></dt><dd><aclass="el"href="classxercesc_1_1InputSource.html#a38edffa85c69a79705506dc674f370ca"title="Set the encoding which will be required for use with the XML text read via a stream opened by this in...">setEncoding</a></dd></dl>
<p>Get the flag that indicates if the parser should issue fatal error if this input source is not found. </p>
<dlclass="return"><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>
<dlclass="see"><dt><b>See also:</b></dt><dd><aclass="el"href="classxercesc_1_1InputSource.html#a30493e827beb6798632d40f81be064c7"title="Indicates if the parser should issue fatal error if this input source is not found.">setIssueFatalErrorIfNotFound</a></dd></dl>
<p>Get the public identifier for this input source. </p>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The public identifier, or null if none was supplied. </dd></dl>
<dlclass="see"><dt><b>See also:</b></dt><dd><aclass="el"href="classxercesc_1_1InputSource.html#ad88b92735d82dcadf39496ca83357aec"title="Set the public identifier for this input source.">setPublicId</a></dd></dl>
<p>Get the system identifier for this input source. </p>
<p>If the system ID is a URL, it will be fully resolved.</p>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The system identifier. </dd></dl>
<dlclass="see"><dt><b>See also:</b></dt><dd><aclass="el"href="classxercesc_1_1InputSource.html#a3542f513fd873dd217ce1972b041182b"title="Set the system identifier for this input source.">setSystemId</a></dd></dl>
<p>Makes the byte stream for this input source. </p>
<p>The derived class must create and return a binary input stream of an appropriate type for its kind of data source. The returned stream must be dynamically allocated and becomes the parser's property. </p>
<p>Implemented in <aclass="el"href="classxercesc_1_1LocalFileInputSource.html#a2e4084fefbfa564f0033d245ea397282">xercesc::LocalFileInputSource</a>, <aclass="el"href="classxercesc_1_1MemBufInputSource.html#a6763b5370b2b83eb987fa43dc8f31301">xercesc::MemBufInputSource</a>, <aclass="el"href="classxercesc_1_1StdInInputSource.html#ad4d88d9a43f30916ad316b771a0424a7">xercesc::StdInInputSource</a>, and <aclass="el"href="classxercesc_1_1URLInputSource.html#ac863b26ca8f95d0a173733235576b211">xercesc::URLInputSource</a>.</p>
<p>Set the encoding which will be required for use with the XML text read via a stream opened by this input source. </p>
<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>
<tr><tdclass="paramname">flag</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>
<dlclass="see"><dt><b>See also:</b></dt><dd><aclass="el"href="classxercesc_1_1InputSource.html#a3184b9e26e147b88d0eae9b09f39910d"title="Get the flag that indicates if the parser should issue fatal error if this input source is not found...">getIssueFatalErrorIfNotFound</a></dd></dl>
<aclass="el"href="classxercesc_1_1InputSource.html#a192a9028168663eb4fb1e905e41837d8"title="Get the public identifier for this input source.">getPublicId</a></dd></dl>
<p>Set the system identifier for this input source. </p>
<p>Set the system identifier for this input source.</p>
<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>
<p>If the system ID is a URL, it must be fully resolved.</p>
<dlclass="see"><dt><b>See also:</b></dt><dd><aclass="el"href="classxercesc_1_1InputSource.html#a95ae54667532f3cbc9ec4a734541d0f5"title="Get the system identifier for this input source.">getSystemId</a></dd>
<dd>
Locator::getSystemId </dd>
<dd>
SAXParseException::getSystemId </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>