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 .
21 module com
{ module sun
{ module star
{ module container
{
24 /** is used to have hierarchical access to elements within a container.
26 <p>You address an object of a specific level in the hierarchy by giving its
27 fully qualified name, e.g., "com.sun.star.uno.XInterface". </p>
29 <p>To implement inaccurate name access, support the
30 com::sun::star::beans::XExactName interface. </p>
32 @see com::sun::star::beans::XExactName
34 published
interface XHierarchicalNameAccess
: com
::sun
::star
::uno
::XInterface
38 the object with the specified name.
41 the name of the object.
43 @throws NoSuchElementException
44 if an element under Name does not exist.
46 any getByHierarchicalName
( [in] string aName
)
47 raises
( com
::sun
::star
::container
::NoSuchElementException
);
51 `TRUE` if an element with this name is in
52 the container, `FALSE` otherwise.
54 <p>In many cases, the next call is XNameAccess::getByName().
55 You should optimize this case.
58 the name of the object.
60 boolean hasByHierarchicalName
( [in] string aName
);
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */