Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: xml :: sax ::
struct InputSource
Description specifies the Datasource plus some additional information for the parser. There are two places where the application will deliver this input source to the parser: as the argument of XParser::parseStream as the return value of XEntityReslover::resolveEntity.

Elements' Summary
aInputStream | contains the byte input stream of the document.
sEncoding | contains the encoding of the data stream. This is used by the parser to do Unicode conversions.
sPublicId | contains the public Id of the document, for example, needed in exception-message strings.
sSystemId | contains the system ID of the document.

Elements' Details
aInputStream
::com::sun::star::io::XInputStream aInputStream; Description contains the byte input stream of the document.
sEncoding
string sEncoding; Description contains the encoding of the data stream. This is used by the parser to do Unicode conversions. 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. ?xml encoding="EUC-JP"? ).
sPublicId
string sPublicId; Description contains the public Id of the document, for example, needed in exception-message strings.
sSystemId
string sSystemId; Description contains the system ID of the document.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.