Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_RDF_XDOCUMENTREPOSITORY_HDL
2 : #define INCLUDED_COM_SUN_STAR_RDF_XDOCUMENTREPOSITORY_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/Pair.hdl"
7 : namespace com { namespace sun { namespace star { namespace container { class XEnumeration; } } } }
8 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
9 : #include "com/sun/star/rdf/RepositoryException.hdl"
10 : #include "com/sun/star/rdf/Statement.hdl"
11 : namespace com { namespace sun { namespace star { namespace rdf { class XMetadatable; } } } }
12 : namespace com { namespace sun { namespace star { namespace rdf { class XNode; } } } }
13 : #include "com/sun/star/rdf/XRepository.hdl"
14 : namespace com { namespace sun { namespace star { namespace rdf { class XResource; } } } }
15 : namespace com { namespace sun { namespace star { namespace rdf { class XURI; } } } }
16 : #include "com/sun/star/uno/RuntimeException.hdl"
17 : #include "com/sun/star/uno/Reference.h"
18 : #include "com/sun/star/uno/Sequence.h"
19 : #include "cppu/macros.hxx"
20 : #include "rtl/ustring.hxx"
21 : #include "sal/types.h"
22 :
23 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
24 :
25 : namespace com { namespace sun { namespace star { namespace rdf {
26 :
27 104 : class SAL_NO_VTABLE XDocumentRepository : public css::rdf::XRepository
28 : {
29 : public:
30 :
31 : // Methods
32 : virtual void SAL_CALL setStatementRDFa( const ::com::sun::star::uno::Reference< css::rdf::XResource >& Subject, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::rdf::XURI > >& Predicates, const ::com::sun::star::uno::Reference< css::rdf::XMetadatable >& Object, const ::rtl::OUString& RDFaContent, const ::com::sun::star::uno::Reference< css::rdf::XURI >& RDFaDatatype ) /* throw (css::lang::IllegalArgumentException, css::rdf::RepositoryException, ::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual void SAL_CALL removeStatementRDFa( const ::com::sun::star::uno::Reference< css::rdf::XMetadatable >& Element ) /* throw (css::lang::IllegalArgumentException, css::rdf::RepositoryException, ::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual css::beans::Pair< ::com::sun::star::uno::Sequence< css::rdf::Statement >, ::sal_Bool > SAL_CALL getStatementRDFa( const ::com::sun::star::uno::Reference< css::rdf::XMetadatable >& Element ) /* throw (css::lang::IllegalArgumentException, css::rdf::RepositoryException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::com::sun::star::uno::Reference< css::container::XEnumeration > SAL_CALL getStatementsRDFa( const ::com::sun::star::uno::Reference< css::rdf::XResource >& Subject, const ::com::sun::star::uno::Reference< css::rdf::XURI >& Predicate, const ::com::sun::star::uno::Reference< css::rdf::XNode >& Object ) /* throw (css::rdf::RepositoryException, ::com::sun::star::uno::RuntimeException) */ = 0;
36 :
37 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
38 :
39 : protected:
40 96 : ~XDocumentRepository() throw () {} // avoid warnings about virtual members and non-virtual dtor
41 : };
42 :
43 :
44 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rdf::XDocumentRepository const *);
45 : } } } }
46 :
47 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::rdf::XDocumentRepository > *) SAL_THROW(());
48 :
49 : #endif
|