27#include <com/sun/star/uno/Reference.h>
28#include <com/sun/star/xml/dom/XNode.hpp>
29#include <com/sun/star/xml/dom/XNodeList.hpp>
31#include <libxml/xpath.h>
33#include "../dom/document.hxx"
44 class CNodeList :
public cppu::WeakImplHelper< css::xml::dom::XNodeList >
57 ::osl::Mutex & rMutex,
58 std::shared_ptr<xmlXPathObject>
const& rxpathObj);
62 virtual sal_Int32 SAL_CALL
getLength()
override;
66 virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL
item(sal_Int32 index)
override;
std::shared_ptr< xmlXPathObject > m_pXPathObj
retain the result set in case the CXPathObject is released
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL item(sal_Int32 index) override
Returns the indexth item in the collection.
virtual sal_Int32 SAL_CALL getLength() override
The number of nodes in the list.
CNodeList(::rtl::Reference< DOM::CDocument > pDocument, ::osl::Mutex &rMutex, std::shared_ptr< xmlXPathObject > const &rxpathObj)
::rtl::Reference< DOM::CDocument > const m_pDocument
#i115995# keep document alive