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