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 <osl/diagnose.h>
23 :
24 : #include <documenttype.hxx>
25 :
26 : using namespace css::uno;
27 : using namespace css::xml::dom;
28 :
29 : namespace DOM
30 : {
31 0 : CEntitiesMap::CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType)
32 0 : : m_pDocType(pDocType)
33 : {
34 0 : }
35 :
36 : /**
37 : The number of nodes in this map.
38 : */
39 0 : sal_Int32 SAL_CALL CEntitiesMap::getLength() throw (RuntimeException, std::exception)
40 : {
41 : OSL_ENSURE(false,
42 : "CEntitiesMap::getLength: not implemented (#i113683#)");
43 0 : return 0;
44 : }
45 :
46 : /**
47 : Retrieves a node specified by local name
48 : */
49 : Reference< XNode > SAL_CALL
50 0 : CEntitiesMap::getNamedItem(OUString const& /*name*/) throw (RuntimeException, std::exception)
51 : {
52 : OSL_ENSURE(false,
53 : "CEntitiesMap::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 : CEntitiesMap::getNamedItemNS(
62 : OUString const& /*namespaceURI*/, OUString const& /*localName*/)
63 : throw (RuntimeException, std::exception)
64 : {
65 : OSL_ENSURE(false,
66 : "CEntitiesMap::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 : CEntitiesMap::item(sal_Int32 /*index*/) throw (RuntimeException, std::exception)
75 : {
76 : OSL_ENSURE(false, "CEntitiesMap::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 : CEntitiesMap::removeNamedItem(OUString const& /*name*/)
85 : throw (RuntimeException, std::exception)
86 : {
87 : OSL_ENSURE(false,
88 : "CEntitiesMap::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 : CEntitiesMap::removeNamedItemNS(
97 : OUString const& /*namespaceURI*/, OUString const& /*localName*/)
98 : throw (RuntimeException, std::exception)
99 : {
100 : OSL_ENSURE(false,
101 : "CEntitiesMap::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 : CEntitiesMap::setNamedItem(Reference< XNode > const& /*arg*/)
110 : throw (RuntimeException, std::exception)
111 : {
112 : OSL_ENSURE(false,
113 : "CEntitiesMap::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 : CEntitiesMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
122 : throw (RuntimeException, std::exception)
123 : {
124 : OSL_ENSURE(false,
125 : "CEntitiesMap::setNamedItemNS: not implemented (#i113683#)");
126 0 : return Reference< XNode >();
127 : }
128 : }
129 :
130 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|