/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ module com { module sun { module star { module beans { /** represents the result of an introspection operation done by the inspect method of XIntrospection.
This interface gives information about an object's properties and methods as detected in the introspection process. It's not possible to access properties or call methods directly using this interface but it provides access to other interfaces to do so. See com::sun::star::beans::XIntrospectionAccess::queryAdapter()
The XExactName interface has to be supported in order to implement inaccurate name access for all objects which implement the com::sun::star::container::XNameAccess interface or XPropertySet.
The XMaterialHolder interface has to be supported to give access to the inspected object.
@see XPropertySet @see com::sun::star::beans::XExactName */ published interface XIntrospectionAccess: com::sun::star::uno::XInterface { /** returns information about which method concepts described in the MethodConcept constants group are supported by this XIntrospectionAccess implementation.The minimum supported concepts should be:
The minimum supported concepts should be:
If the introspected object has the methods
To access properties, query for the XPropertySet
interface. If the XPropertySet can
be queried, the XFastPropertySet interface
must be supported too. If the introspected object implements a name container,
the introspection should return the
com::sun::star::container::XNameAccess and
com::sun::star::container::XNameContainer interfaces. If the introspected object implements an index container,
the introspection should return the
com::sun::star::container::XIndexAccess and
com::sun::star::container::XIndexContainer interfaces. If the introspected object implements an enumeration
container, the introspection should return the
com::sun::star::container::XEnumerationAccess interface. If the introspected object implements the
com::sun::star::reflection::XIdlArray interface,
the introspection should return this. To implement inaccurate name access, at all objects,
which implement the com::sun::star::container::XNameAccess or
XPropertySet interface, the XExactName interface has to be supported.
addFooListener( XFooListener xFoo )
and
removeFooListener( XFooListener xFoo )
the type of XFooListener will be one of the elements
in the returned sequence.
@returns
a sequence of the types of listener interfaces
which are supported by the introspected object.
*/
sequence