cURL: follow redirects
[LibreOffice.git] / unoxml / source / dom / entitiesmap.cxx
bloba281fa1b07ce794902ffa8fb018794fdbedd8102
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #include <entitiesmap.hxx>
22 #include <osl/diagnose.h>
24 #include <documenttype.hxx>
26 using namespace css::uno;
27 using namespace css::xml::dom;
29 namespace DOM
31 CEntitiesMap::CEntitiesMap()
35 /**
36 The number of nodes in this map.
38 sal_Int32 SAL_CALL CEntitiesMap::getLength() throw (RuntimeException, std::exception)
40 OSL_ENSURE(false,
41 "CEntitiesMap::getLength: not implemented (#i113683#)");
42 return 0;
45 /**
46 Retrieves a node specified by local name
48 Reference< XNode > SAL_CALL
49 CEntitiesMap::getNamedItem(OUString const& /*name*/) throw (RuntimeException, std::exception)
51 OSL_ENSURE(false,
52 "CEntitiesMap::getNamedItem: not implemented (#i113683#)");
53 return Reference< XNode >();
56 /**
57 Retrieves a node specified by local name and namespace URI.
59 Reference< XNode > SAL_CALL
60 CEntitiesMap::getNamedItemNS(
61 OUString const& /*namespaceURI*/, OUString const& /*localName*/)
62 throw (RuntimeException, std::exception)
64 OSL_ENSURE(false,
65 "CEntitiesMap::getNamedItemNS: not implemented (#i113683#)");
66 return Reference< XNode >();
69 /**
70 Returns the indexth item in the map.
72 Reference< XNode > SAL_CALL
73 CEntitiesMap::item(sal_Int32 /*index*/) throw (RuntimeException, std::exception)
75 OSL_ENSURE(false, "CEntitiesMap::item: not implemented (#i113683#)");
76 return Reference< XNode >();
79 /**
80 Removes a node specified by name.
82 Reference< XNode > SAL_CALL
83 CEntitiesMap::removeNamedItem(OUString const& /*name*/)
84 throw (RuntimeException, std::exception)
86 OSL_ENSURE(false,
87 "CEntitiesMap::removeNamedItem: not implemented (#i113683#)");
88 return Reference< XNode >();
91 /**
92 // Removes a node specified by local name and namespace URI.
94 Reference< XNode > SAL_CALL
95 CEntitiesMap::removeNamedItemNS(
96 OUString const& /*namespaceURI*/, OUString const& /*localName*/)
97 throw (RuntimeException, std::exception)
99 OSL_ENSURE(false,
100 "CEntitiesMap::removeNamedItemNS: not implemented (#i113683#)");
101 return Reference< XNode >();
105 // Adds a node using its nodeName attribute.
107 Reference< XNode > SAL_CALL
108 CEntitiesMap::setNamedItem(Reference< XNode > const& /*arg*/)
109 throw (RuntimeException, std::exception)
111 OSL_ENSURE(false,
112 "CEntitiesMap::setNamedItem: not implemented (#i113683#)");
113 return Reference< XNode >();
117 Adds a node using its namespaceURI and localName.
119 Reference< XNode > SAL_CALL
120 CEntitiesMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
121 throw (RuntimeException, std::exception)
123 OSL_ENSURE(false,
124 "CEntitiesMap::setNamedItemNS: not implemented (#i113683#)");
125 return Reference< XNode >();
129 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */