LibreOffice Module unoxml (master) 1
entitiesmap.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#include "entitiesmap.hxx"
21
22#include <osl/diagnose.h>
23
24using namespace css::uno;
25using namespace css::xml::dom;
26
27namespace DOM
28{
30 {
31 }
32
36 sal_Int32 SAL_CALL CEntitiesMap::getLength()
37 {
38 OSL_ENSURE(false,
39 "CEntitiesMap::getLength: not implemented (#i113683#)");
40 return 0;
41 }
42
46 Reference< XNode > SAL_CALL
47 CEntitiesMap::getNamedItem(OUString const& /*name*/)
48 {
49 OSL_ENSURE(false,
50 "CEntitiesMap::getNamedItem: not implemented (#i113683#)");
51 return Reference< XNode >();
52 }
53
57 Reference< XNode > SAL_CALL
59 OUString const& /*namespaceURI*/, OUString const& /*localName*/)
60 {
61 OSL_ENSURE(false,
62 "CEntitiesMap::getNamedItemNS: not implemented (#i113683#)");
63 return Reference< XNode >();
64 }
65
69 Reference< XNode > SAL_CALL
70 CEntitiesMap::item(sal_Int32 /*index*/)
71 {
72 OSL_ENSURE(false, "CEntitiesMap::item: not implemented (#i113683#)");
73 return Reference< XNode >();
74 }
75
79 Reference< XNode > SAL_CALL
80 CEntitiesMap::removeNamedItem(OUString const& /*name*/)
81 {
82 OSL_ENSURE(false,
83 "CEntitiesMap::removeNamedItem: not implemented (#i113683#)");
84 return Reference< XNode >();
85 }
86
90 Reference< XNode > SAL_CALL
92 OUString const& /*namespaceURI*/, OUString const& /*localName*/)
93 {
94 OSL_ENSURE(false,
95 "CEntitiesMap::removeNamedItemNS: not implemented (#i113683#)");
96 return Reference< XNode >();
97 }
98
102 Reference< XNode > SAL_CALL
103 CEntitiesMap::setNamedItem(Reference< XNode > const& /*arg*/)
104 {
105 OSL_ENSURE(false,
106 "CEntitiesMap::setNamedItem: not implemented (#i113683#)");
107 return Reference< XNode >();
108 }
109
113 Reference< XNode > SAL_CALL
114 CEntitiesMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
115 {
116 OSL_ENSURE(false,
117 "CEntitiesMap::setNamedItemNS: not implemented (#i113683#)");
118 return Reference< XNode >();
119 }
120}
121
122/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL removeNamedItemNS(OUString const &namespaceURI, OUString const &localName) override
Removes a node specified by local name and namespace URI.
Definition: entitiesmap.cxx:91
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL item(sal_Int32 index) override
Returns the indexth item in the map.
Definition: entitiesmap.cxx:70
virtual sal_Int32 SAL_CALL getLength() override
The number of nodes in this map.
Definition: entitiesmap.cxx:36
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getNamedItem(const OUString &name) override
Retrieves a node specified by local name.
Definition: entitiesmap.cxx:47
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getNamedItemNS(OUString const &namespaceURI, OUString const &localName) override
Retrieves a node specified by local name and namespace URI.
Definition: entitiesmap.cxx:58
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL removeNamedItem(OUString const &name) override
Removes a node specified by name.
Definition: entitiesmap.cxx:80
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL setNamedItem(css::uno::Reference< css::xml::dom::XNode > const &arg) override
Adds a node using its nodeName attribute.
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL setNamedItemNS(css::uno::Reference< css::xml::dom::XNode > const &arg) override
Adds a node using its namespaceURI and localName.
Definition: attr.cxx:38