<html> <head> <title>Struct InputSource</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="InputSource-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td> <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">xml</a> :: <a href="module-ix.html" class="namechain">sax</a> :: </p> </td> </tr> <tr> <td class="title">struct InputSource</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>specifies the Datasource plus some additional information for the parser. </dd> <dd><p>There are two places where the application will deliver this input source to the parser: </p> <ul> <li>as the argument of <method>XParser::parseStream</method></li> <li>as the return value of <method>XEntityReslover::resolveEntity</method>. </li> </ul> </dd> </dl> </td> </tr> </table> <hr> <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Elements' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#aInputStream">aInputStream</a></td> <td class="imsum_right">contains the byte input stream of the document. </td> </tr> <tr> <td class="imsum_left"><a href="#sEncoding">sEncoding</a></td> <td class="imsum_right">contains the encoding of the data stream. This is used by the parser to do unicode conversions. </td> </tr> <tr> <td class="imsum_left"><a href="#sPublicId">sPublicId</a></td> <td class="imsum_right">constains the public Id of the document, for example, needed in exception-message strings. </td> </tr> <tr> <td class="imsum_left"><a href="#sSystemId">sSystemId</a></td> <td class="imsum_right">contains the sytemID of the document. </td> </tr> </table> <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Elements' Details</td> </tr> <tr> <td class="imdetail"><a name="aInputStream" class="membertitle">aInputStream</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../../io/module-ix.html">io</a>::<a href="../../io/XInputStream.html">XInputStream</a> <b>aInputStream</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the byte input stream of the document. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="sEncoding" class="membertitle">sEncoding</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>sEncoding</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the encoding of the data stream. This is used by the parser to do unicode conversions. </dd> <dd><p>Note that in general you do not need to specify an encoding. Either it is UTF-8 or UTF-16 which is recognized by the parser or it is specified in the first line of the XML-File ( e.g. <em>?xml encoding="EUC-JP"?</em> ).</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="sPublicId" class="membertitle">sPublicId</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>sPublicId</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>constains the public Id of the document, for example, needed in exception-message strings. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="sSystemId" class="membertitle">sSystemId</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>sSystemId</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the sytemID of the document. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2009 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>