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