diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 10:46:34 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 10:46:34 +0000 |
commit | 82e848de6d101b8b195b0b710473826a2c3c2197 (patch) | |
tree | 7387abeec05cfcd0d6cb77a5f3d8a4105a8cc465 /offapi/com/sun/star/xml/dom | |
parent | 7b99224020f3105bcb15eec03bb5a48ab4691a9b (diff) |
INTEGRATION: CWS xmlfix2 (1.3.326); FILE MERGED
2008/05/15 17:06:26 mst 1.3.326.2: RESYNC: (1.3-1.4); FILE MERGED
2007/11/14 14:31:36 lo 1.3.326.1: parser improvements
Diffstat (limited to 'offapi/com/sun/star/xml/dom')
-rw-r--r-- | offapi/com/sun/star/xml/dom/XDocumentBuilder.idl | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/offapi/com/sun/star/xml/dom/XDocumentBuilder.idl b/offapi/com/sun/star/xml/dom/XDocumentBuilder.idl index a688a3a5a6c6..258fdce31207 100644 --- a/offapi/com/sun/star/xml/dom/XDocumentBuilder.idl +++ b/offapi/com/sun/star/xml/dom/XDocumentBuilder.idl @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: XDocumentBuilder.idl,v $ - * $Revision: 1.4 $ + * $Revision: 1.5 $ * * This file is part of OpenOffice.org. * @@ -44,6 +44,23 @@ #ifndef __com_sun_star_io_XInputStream_idl__ #include <com/sun/star/io/XInputStream.idl> #endif + +#ifndef __com_sun_star_xml_sax_SAXException_idl__ +#include <com/sun/star/xml/sax/SAXException.idl> +#endif + +#ifndef __com_sun_star_xml_sax_XErrorHandler_idl__ +#include <com/sun/star/xml/sax/XErrorHandler.idl> +#endif +#ifndef __com_sun_star_xml_sax_XEntityResolver_idl__ +#include <com/sun/star/xml/sax/XEntityResolver.idl> +#endif + + +#ifndef __com_sun_star_io_IOException_idl__ +#include <com/sun/star/io/IOException.idl> +#endif + module com { module sun { module star { module xml { module dom { interface XInputStream; @@ -81,25 +98,30 @@ interface XDocumentBuilder : com::sun::star::uno::XInterface Parse the content of the given InputStream as an XML document and return a new DOM Document object. */ - XDocument parse([in] com::sun::star::io::XInputStream is); + XDocument parse([in] com::sun::star::io::XInputStream is) + raises( com::sun::star::xml::sax::SAXException, + com::sun::star::io::IOException ); /** Parse the content of the given URI as an XML document and return a new DOM Document object. */ - //XDocument parse([in] string uri); + XDocument parseURI([in] string uri) + raises( com::sun::star::xml::sax::SAXException, + com::sun::star::io::IOException ); /** Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed. */ - // void setEntityResolver([in] XEntityResolver er); + void setEntityResolver([in] com::sun::star::xml::sax::XEntityResolver er); /** Specify the ErrorHandler to be used to report errors present in the XML document to be parsed. */ - //void setErrorHandler([in] XErrorHandler eh); + void setErrorHandler([in] com::sun::star::xml::sax::XErrorHandler eh); + }; }; }; }; }; }; |