Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_XML_SAX_XFASTSERIALIZER_HDL
2 : : #define INCLUDED_COM_SUN_STAR_XML_SAX_XFASTSERIALIZER_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 XFastTokenHandler; } } } } }
8 : : namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XFastAttributeList; } } } } }
9 : : #include "com/sun/star/xml/sax/SAXException.hdl"
10 : : #include "com/sun/star/uno/XInterface.hdl"
11 : : namespace com { namespace sun { namespace star { namespace io { class XOutputStream; } } } }
12 : : #include "com/sun/star/uno/Reference.h"
13 : : #include "cppu/macros.hxx"
14 : : #include "rtl/ustring.hxx"
15 : : #include "sal/types.h"
16 : :
17 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
18 : :
19 : : namespace com { namespace sun { namespace star { namespace xml { namespace sax {
20 : :
21 : 345 : class SAL_NO_VTABLE XFastSerializer : public ::com::sun::star::uno::XInterface
22 : : {
23 : : public:
24 : :
25 : : // Methods
26 : : virtual void SAL_CALL startDocument( ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL endDocument( ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual void SAL_CALL startFastElement( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL startUnknownElement( const ::rtl::OUString& Namespace, const ::rtl::OUString& Name, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual void SAL_CALL endFastElement( ::sal_Int32 Element ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL endUnknownElement( const ::rtl::OUString& Namespace, const ::rtl::OUString& Name ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL singleFastElement( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL singleUnknownElement( const ::rtl::OUString& Namespace, const ::rtl::OUString& Name, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL characters( const ::rtl::OUString& aChars ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setOutputStream( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& xOutputStream ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL setFastTokenHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastTokenHandler >& xFastTokenHandler ) 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 : 345 : ~XFastSerializer() 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::sax::XFastSerializer const *);
46 : : } } } } }
47 : :
48 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastSerializer > *) SAL_THROW(());
49 : :
50 : : #endif
|