1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #include <entitiesmap.hxx>
22 #include <documenttype.hxx>
27 CEntitiesMap::CEntitiesMap(::rtl::Reference
<CDocumentType
> const& pDocType
)
28 : m_pDocType(pDocType
)
33 The number of nodes in this map.
35 sal_Int32 SAL_CALL
CEntitiesMap::getLength() throw (RuntimeException
)
38 "CEntitiesMap::getLength: not implemented (#i113683#)");
43 Retrieves a node specified by local name
45 Reference
< XNode
> SAL_CALL
46 CEntitiesMap::getNamedItem(OUString
const& /*name*/) throw (RuntimeException
)
49 "CEntitiesMap::getNamedItem: not implemented (#i113683#)");
50 return Reference
< XNode
>();
54 Retrieves a node specified by local name and namespace URI.
56 Reference
< XNode
> SAL_CALL
57 CEntitiesMap::getNamedItemNS(
58 OUString
const& /*namespaceURI*/, OUString
const& /*localName*/)
59 throw (RuntimeException
)
62 "CEntitiesMap::getNamedItemNS: not implemented (#i113683#)");
63 return Reference
< XNode
>();
67 Returns the indexth item in the map.
69 Reference
< XNode
> SAL_CALL
70 CEntitiesMap::item(sal_Int32
/*index*/) throw (RuntimeException
)
72 OSL_ENSURE(false, "CEntitiesMap::item: not implemented (#i113683#)");
73 return Reference
< XNode
>();
77 Removes a node specified by name.
79 Reference
< XNode
> SAL_CALL
80 CEntitiesMap::removeNamedItem(OUString
const& /*name*/)
81 throw (RuntimeException
)
84 "CEntitiesMap::removeNamedItem: not implemented (#i113683#)");
85 return Reference
< XNode
>();
89 // Removes a node specified by local name and namespace URI.
91 Reference
< XNode
> SAL_CALL
92 CEntitiesMap::removeNamedItemNS(
93 OUString
const& /*namespaceURI*/, OUString
const& /*localName*/)
94 throw (RuntimeException
)
97 "CEntitiesMap::removeNamedItemNS: not implemented (#i113683#)");
98 return Reference
< XNode
>();
102 // Adds a node using its nodeName attribute.
104 Reference
< XNode
> SAL_CALL
105 CEntitiesMap::setNamedItem(Reference
< XNode
> const& /*arg*/)
106 throw (RuntimeException
)
109 "CEntitiesMap::setNamedItem: not implemented (#i113683#)");
110 return Reference
< XNode
>();
114 Adds a node using its namespaceURI and localName.
116 Reference
< XNode
> SAL_CALL
117 CEntitiesMap::setNamedItemNS(Reference
< XNode
> const& /*arg*/)
118 throw (RuntimeException
)
121 "CEntitiesMap::setNamedItemNS: not implemented (#i113683#)");
122 return Reference
< XNode
>();
126 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */