Branch data 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 <notationsmap.hxx>
21 : :
22 : : #include <documenttype.hxx>
23 : :
24 : :
25 : : namespace DOM
26 : : {
27 : 0 : CNotationsMap::CNotationsMap(
28 : : ::rtl::Reference<CDocumentType> const& pDocType)
29 : 0 : : m_pDocType(pDocType)
30 : : {
31 : 0 : }
32 : :
33 : : /**
34 : : The number of nodes in this map.
35 : : */
36 : 0 : sal_Int32 SAL_CALL CNotationsMap::getLength() throw (RuntimeException)
37 : : {
38 : : OSL_ENSURE(false,
39 : : "CNotationsMap::getLength: not implemented (#i113683#)");
40 : 0 : return 0;
41 : : }
42 : :
43 : : /**
44 : : Retrieves a node specified by local name
45 : : */
46 : : Reference< XNode > SAL_CALL
47 : 0 : CNotationsMap::getNamedItem(OUString const& /*name*/)
48 : : throw (RuntimeException)
49 : : {
50 : : OSL_ENSURE(false,
51 : : "CNotationsMap::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 : CNotationsMap::getNamedItemNS(
60 : : OUString const& /*namespaceURI*/, OUString const& /*localName*/)
61 : : throw (RuntimeException)
62 : : {
63 : : OSL_ENSURE(false,
64 : : "CNotationsMap::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 : CNotationsMap::item(sal_Int32 /*index*/) throw (RuntimeException)
73 : : {
74 : : OSL_ENSURE(false, "CNotationsMap::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 : CNotationsMap::removeNamedItem(OUString const& /*name*/)
83 : : throw (RuntimeException)
84 : : {
85 : : OSL_ENSURE(false,
86 : : "CNotationsMap::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 : CNotationsMap::removeNamedItemNS(
95 : : OUString const& /*namespaceURI*/, OUString const& /*localName*/)
96 : : throw (RuntimeException)
97 : : {
98 : : OSL_ENSURE(false,
99 : : "CNotationsMap::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 : CNotationsMap::setNamedItem(Reference< XNode > const& /*arg*/)
108 : : throw (RuntimeException)
109 : : {
110 : : OSL_ENSURE(false,
111 : : "CNotationsMap::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 : CNotationsMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
120 : : throw (RuntimeException)
121 : : {
122 : : OSL_ENSURE(false,
123 : : "CNotationsMap::setNamedItemNS: not implemented (#i113683#)");
124 : 0 : return Reference< XNode >();
125 : : }
126 : : }
127 : :
128 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|