merge the formfield patch from ooo-build
[ooovba.git] / unoxml / source / dom / entitiesmap.cxx
blob60454d7b61c5f6d5ed4020a0cf4f7fd85b5334ed
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: entitiesmap.cxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include "entitiesmap.hxx"
33 namespace DOM
35 CEntitiesMap::CEntitiesMap(const CDocumentType* aDocType)
36 : m_pDocType(aDocType)
40 /**
41 The number of nodes in this map.
43 sal_Int32 SAL_CALL CEntitiesMap::getLength() throw (RuntimeException)
45 return 0;
48 /**
49 Retrieves a node specified by local name
51 Reference< XNode > SAL_CALL CEntitiesMap::getNamedItem(const OUString& /*name*/) throw (RuntimeException)
53 return Reference< XNode >();
56 /**
57 Retrieves a node specified by local name and namespace URI.
59 Reference< XNode > SAL_CALL CEntitiesMap::getNamedItemNS(const OUString& /*namespaceURI*/,const OUString& /*localName*/) throw (RuntimeException)
61 return Reference< XNode >();
64 /**
65 Returns the indexth item in the map.
67 Reference< XNode > SAL_CALL CEntitiesMap::item(sal_Int32 /*index*/) throw (RuntimeException)
69 return Reference< XNode >();
72 /**
73 Removes a node specified by name.
75 Reference< XNode > SAL_CALL CEntitiesMap::removeNamedItem(const OUString& /*name*/) throw (RuntimeException)
77 return Reference< XNode >();
80 /**
81 // Removes a node specified by local name and namespace URI.
83 Reference< XNode > SAL_CALL CEntitiesMap::removeNamedItemNS(const OUString& /*namespaceURI*/, const OUString& /*localName*/) throw (RuntimeException)
85 return Reference< XNode >();
88 /**
89 // Adds a node using its nodeName attribute.
91 Reference< XNode > SAL_CALL CEntitiesMap::setNamedItem(const Reference< XNode >& /*arg*/) throw (RuntimeException)
93 return Reference< XNode >();
96 /**
97 Adds a node using its namespaceURI and localName.
99 Reference< XNode > SAL_CALL CEntitiesMap::setNamedItemNS(const Reference< XNode >& /*arg*/) throw (RuntimeException)
101 return Reference< XNode >();