Line data Source code
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 <documenttype.hxx>
23 :
24 : using namespace css::uno;
25 : using namespace css::xml::dom;
26 :
27 : namespace DOM
28 : {
29 0 : CEntitiesMap::CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType)
30 0 : : m_pDocType(pDocType)
31 : {
32 0 : }
33 :
34 : /**
35 : The number of nodes in this map.
36 : */
37 0 : sal_Int32 SAL_CALL CEntitiesMap::getLength() throw (RuntimeException, std::exception)
38 : {
39 : OSL_ENSURE(false,
40 : "CEntitiesMap::getLength: not implemented (#i113683#)");
41 0 : return 0;
42 : }
43 :
44 : /**
45 : Retrieves a node specified by local name
46 : */
47 : Reference< XNode > SAL_CALL
48 0 : CEntitiesMap::getNamedItem(OUString const& /*name*/) throw (RuntimeException, std::exception)
49 : {
50 : OSL_ENSURE(false,
51 : "CEntitiesMap::getNamedItem: not implemented (#i113683#)");
52 0 : return Reference< XNode >();
53 : }
54 :
55 : /**
56 : Retrieves a node specified by local name and namespace URI.
57 : */
58 : Reference< XNode > SAL_CALL
59 0 : CEntitiesMap::getNamedItemNS(
60 : OUString const& /*namespaceURI*/, OUString const& /*localName*/)
61 : throw (RuntimeException, std::exception)
62 : {
63 : OSL_ENSURE(false,
64 : "CEntitiesMap::getNamedItemNS: not implemented (#i113683#)");
65 0 : return Reference< XNode >();
66 : }
67 :
68 : /**
69 : Returns the indexth item in the map.
70 : */
71 : Reference< XNode > SAL_CALL
72 0 : CEntitiesMap::item(sal_Int32 /*index*/) throw (RuntimeException, std::exception)
73 : {
74 : OSL_ENSURE(false, "CEntitiesMap::item: not implemented (#i113683#)");
75 0 : return Reference< XNode >();
76 : }
77 :
78 : /**
79 : Removes a node specified by name.
80 : */
81 : Reference< XNode > SAL_CALL
82 0 : CEntitiesMap::removeNamedItem(OUString const& /*name*/)
83 : throw (RuntimeException, std::exception)
84 : {
85 : OSL_ENSURE(false,
86 : "CEntitiesMap::removeNamedItem: not implemented (#i113683#)");
87 0 : return Reference< XNode >();
88 : }
89 :
90 : /**
91 : // Removes a node specified by local name and namespace URI.
92 : */
93 : Reference< XNode > SAL_CALL
94 0 : CEntitiesMap::removeNamedItemNS(
95 : OUString const& /*namespaceURI*/, OUString const& /*localName*/)
96 : throw (RuntimeException, std::exception)
97 : {
98 : OSL_ENSURE(false,
99 : "CEntitiesMap::removeNamedItemNS: not implemented (#i113683#)");
100 0 : return Reference< XNode >();
101 : }
102 :
103 : /**
104 : // Adds a node using its nodeName attribute.
105 : */
106 : Reference< XNode > SAL_CALL
107 0 : CEntitiesMap::setNamedItem(Reference< XNode > const& /*arg*/)
108 : throw (RuntimeException, std::exception)
109 : {
110 : OSL_ENSURE(false,
111 : "CEntitiesMap::setNamedItem: not implemented (#i113683#)");
112 0 : return Reference< XNode >();
113 : }
114 :
115 : /**
116 : Adds a node using its namespaceURI and localName.
117 : */
118 : Reference< XNode > SAL_CALL
119 0 : CEntitiesMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
120 : throw (RuntimeException, std::exception)
121 : {
122 : OSL_ENSURE(false,
123 : "CEntitiesMap::setNamedItemNS: not implemented (#i113683#)");
124 0 : return Reference< XNode >();
125 : }
126 : }
127 :
128 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|