Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_XML_DOM_XDOCUMENTBUILDER_HDL
2 : #define INCLUDED_COM_SUN_STAR_XML_DOM_XDOCUMENTBUILDER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/io/IOException.hdl"
7 : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
8 : #include "com/sun/star/uno/RuntimeException.hdl"
9 : #include "com/sun/star/uno/XInterface.hdl"
10 : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XDOMImplementation; } } } } }
11 : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XDocument; } } } } }
12 : #include "com/sun/star/xml/sax/SAXException.hdl"
13 : namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XEntityResolver; } } } } }
14 : namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XErrorHandler; } } } } }
15 : #include "com/sun/star/uno/Reference.h"
16 : #include "cppu/macros.hxx"
17 : #include "rtl/ustring.hxx"
18 : #include "sal/types.h"
19 :
20 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 :
22 : namespace com { namespace sun { namespace star { namespace xml { namespace dom {
23 :
24 98 : class SAL_NO_VTABLE XDocumentBuilder : public css::uno::XInterface
25 : {
26 : public:
27 :
28 : // Methods
29 : virtual ::com::sun::star::uno::Reference< css::xml::dom::XDOMImplementation > SAL_CALL getDOMImplementation() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::sal_Bool SAL_CALL isNamespaceAware() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::sal_Bool SAL_CALL isValidating() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::com::sun::star::uno::Reference< css::xml::dom::XDocument > SAL_CALL newDocument() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Reference< css::xml::dom::XDocument > SAL_CALL parse( const ::com::sun::star::uno::Reference< css::io::XInputStream >& is ) /* throw (css::xml::sax::SAXException, css::io::IOException, ::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::com::sun::star::uno::Reference< css::xml::dom::XDocument > SAL_CALL parseURI( const ::rtl::OUString& uri ) /* throw (css::xml::sax::SAXException, css::io::IOException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL setEntityResolver( const ::com::sun::star::uno::Reference< css::xml::sax::XEntityResolver >& er ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual void SAL_CALL setErrorHandler( const ::com::sun::star::uno::Reference< css::xml::sax::XErrorHandler >& eh ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 :
38 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
39 :
40 : protected:
41 97 : ~XDocumentBuilder() throw () {} // avoid warnings about virtual members and non-virtual dtor
42 : };
43 :
44 :
45 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::dom::XDocumentBuilder const *);
46 : } } } } }
47 :
48 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::xml::dom::XDocumentBuilder > *) SAL_THROW(());
49 :
50 : #endif
|