summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/entitiesmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/entitiesmap.cxx')
-rw-r--r--unoxml/source/dom/entitiesmap.cxx54
1 files changed, 44 insertions, 10 deletions
diff --git a/unoxml/source/dom/entitiesmap.cxx b/unoxml/source/dom/entitiesmap.cxx
index 98db3d2c7395..aab2f5551332 100644
--- a/unoxml/source/dom/entitiesmap.cxx
+++ b/unoxml/source/dom/entitiesmap.cxx
@@ -25,12 +25,17 @@
*
************************************************************************/
-#include "entitiesmap.hxx"
+#include <entitiesmap.hxx>
+
+#include <documenttype.hxx>
+
namespace DOM
{
- CEntitiesMap::CEntitiesMap(const CDocumentType* aDocType)
- : m_pDocType(aDocType)
+ CEntitiesMap::CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType,
+ ::osl::Mutex & rMutex)
+ : m_pDocType(pDocType)
+ , m_rMutex(rMutex)
{
}
@@ -39,62 +44,91 @@ namespace DOM
*/
sal_Int32 SAL_CALL CEntitiesMap::getLength() throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::getLength: not implemented (#i113683#)");
return 0;
}
/**
Retrieves a node specified by local name
*/
- Reference< XNode > SAL_CALL CEntitiesMap::getNamedItem(const OUString& /*name*/) throw (RuntimeException)
+ Reference< XNode > SAL_CALL
+ CEntitiesMap::getNamedItem(OUString const& /*name*/) throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::getNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
/**
Retrieves a node specified by local name and namespace URI.
*/
- Reference< XNode > SAL_CALL CEntitiesMap::getNamedItemNS(const OUString& /*namespaceURI*/,const OUString& /*localName*/) throw (RuntimeException)
+ Reference< XNode > SAL_CALL
+ CEntitiesMap::getNamedItemNS(
+ OUString const& /*namespaceURI*/, OUString const& /*localName*/)
+ throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::getNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
/**
Returns the indexth item in the map.
*/
- Reference< XNode > SAL_CALL CEntitiesMap::item(sal_Int32 /*index*/) throw (RuntimeException)
+ Reference< XNode > SAL_CALL
+ CEntitiesMap::item(sal_Int32 /*index*/) throw (RuntimeException)
{
+ OSL_ENSURE(false, "CEntitiesMap::item: not implemented (#i113683#)");
return Reference< XNode >();
}
/**
Removes a node specified by name.
*/
- Reference< XNode > SAL_CALL CEntitiesMap::removeNamedItem(const OUString& /*name*/) throw (RuntimeException)
+ Reference< XNode > SAL_CALL
+ CEntitiesMap::removeNamedItem(OUString const& /*name*/)
+ throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::removeNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
/**
// Removes a node specified by local name and namespace URI.
*/
- Reference< XNode > SAL_CALL CEntitiesMap::removeNamedItemNS(const OUString& /*namespaceURI*/, const OUString& /*localName*/) throw (RuntimeException)
+ Reference< XNode > SAL_CALL
+ CEntitiesMap::removeNamedItemNS(
+ OUString const& /*namespaceURI*/, OUString const& /*localName*/)
+ throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::removeNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
/**
// Adds a node using its nodeName attribute.
*/
- Reference< XNode > SAL_CALL CEntitiesMap::setNamedItem(const Reference< XNode >& /*arg*/) throw (RuntimeException)
+ Reference< XNode > SAL_CALL
+ CEntitiesMap::setNamedItem(Reference< XNode > const& /*arg*/)
+ throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::setNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
/**
Adds a node using its namespaceURI and localName.
*/
- Reference< XNode > SAL_CALL CEntitiesMap::setNamedItemNS(const Reference< XNode >& /*arg*/) throw (RuntimeException)
+ Reference< XNode > SAL_CALL
+ CEntitiesMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
+ throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::setNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
}