Branch data 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/uno/RuntimeException.hdl"
7 : : namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XErrorHandler; } } } } }
8 : : namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XEntityResolver; } } } } }
9 : : #include "com/sun/star/xml/sax/SAXException.hdl"
10 : : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
11 : : #include "com/sun/star/io/IOException.hdl"
12 : : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XDocument; } } } } }
13 : : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XDOMImplementation; } } } } }
14 : : #include "com/sun/star/uno/XInterface.hdl"
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 : 191 : class SAL_NO_VTABLE XDocumentBuilder : public ::com::sun::star::uno::XInterface
25 : : {
26 : : public:
27 : :
28 : : // Methods
29 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::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< ::com::sun::star::xml::dom::XDocument > SAL_CALL newDocument( ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XDocument > SAL_CALL parse( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& is ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XDocument > SAL_CALL parseURI( const ::rtl::OUString& uri ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setEntityResolver( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XEntityResolver >& er ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL setErrorHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::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 : 191 : ~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 ::com::sun::star::xml::dom::XDocumentBuilder const *);
46 : : } } } } }
47 : :
48 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XDocumentBuilder > *) SAL_THROW(());
49 : :
50 : : #endif
|