LCOV - code coverage report
Current view: top level - xml/dom - XElement.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_XML_DOM_XELEMENT_HDL
       2             : #define INCLUDED_COM_SUN_STAR_XML_DOM_XELEMENT_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/uno/RuntimeException.hdl"
       7             : #include "com/sun/star/xml/dom/DOMException.hdl"
       8             : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XAttr; } } } } }
       9             : #include "com/sun/star/xml/dom/XNode.hdl"
      10             : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNodeList; } } } } }
      11             : #include "com/sun/star/uno/Reference.h"
      12             : #include "cppu/macros.hxx"
      13             : #include "rtl/ustring.hxx"
      14             : #include "sal/types.h"
      15             : 
      16             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      17             : 
      18             : namespace com { namespace sun { namespace star { namespace xml { namespace dom {
      19             : 
      20       35675 : class SAL_NO_VTABLE XElement : public css::xml::dom::XNode
      21             : {
      22             : public:
      23             : 
      24             :     // Methods
      25             :     virtual ::rtl::OUString SAL_CALL getAttribute( const ::rtl::OUString& name ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      26             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XAttr > SAL_CALL getAttributeNode( const ::rtl::OUString& name ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      27             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XAttr > SAL_CALL getAttributeNodeNS( const ::rtl::OUString& namespaceURI, const ::rtl::OUString& localName ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      28             :     virtual ::rtl::OUString SAL_CALL getAttributeNS( const ::rtl::OUString& namespaceURI, const ::rtl::OUString& localName ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      29             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNodeList > SAL_CALL getElementsByTagName( const ::rtl::OUString& name ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      30             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNodeList > SAL_CALL getElementsByTagNameNS( const ::rtl::OUString& namespaceURI, const ::rtl::OUString& localName ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual ::rtl::OUString SAL_CALL getTagName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual ::sal_Bool SAL_CALL hasAttribute( const ::rtl::OUString& name ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual ::sal_Bool SAL_CALL hasAttributeNS( const ::rtl::OUString& namespaceURI, const ::rtl::OUString& localName ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual void SAL_CALL removeAttribute( const ::rtl::OUString& name ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XAttr > SAL_CALL removeAttributeNode( const ::com::sun::star::uno::Reference< css::xml::dom::XAttr >& oldAttr ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual void SAL_CALL removeAttributeNS( const ::rtl::OUString& namespaceURI, const ::rtl::OUString& localName ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual void SAL_CALL setAttribute( const ::rtl::OUString& name, const ::rtl::OUString& value ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XAttr > SAL_CALL setAttributeNode( const ::com::sun::star::uno::Reference< css::xml::dom::XAttr >& newAttr ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XAttr > SAL_CALL setAttributeNodeNS( const ::com::sun::star::uno::Reference< css::xml::dom::XAttr >& newAttr ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual void SAL_CALL setAttributeNS( const ::rtl::OUString& namespaceURI, const ::rtl::OUString& qualifiedName, const ::rtl::OUString& value ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      41             : 
      42             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      43             : 
      44             : protected:
      45       35595 :     ~XElement() throw () {} // avoid warnings about virtual members and non-virtual dtor
      46             : };
      47             : 
      48             : 
      49             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::dom::XElement const *);
      50             : } } } } }
      51             : 
      52             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::xml::dom::XElement > *) SAL_THROW(());
      53             : 
      54             : #endif

Generated by: LCOV version 1.10