interface XTypeProvider in module com::sun::star::lang::

(Global Index)

Syntax

interface XTypeProvider : com::sun::star::uno::XInterface ;

Description

interface to get information about the types (usually interface types) supported by an object.

Method Summary

getTypes

getImplementationId

Method Details



getTypes

Syntax

sequence< type > getTypes ();

Description

Returns

Sequence of all types (usually interface types) provided by the object. Important: If the object aggregates other objects the sequence also has to contain all types supportet by the aggregated objects.

getImplementationId

Syntax

sequence< byte > getImplementationId ();

Description

Returns

a UUID as sequence of 16 bytes as an Id that can be used to unambiguously distinguish between two sets of types, e.g. to realise hashing functionality when the object is introspected. Two objects that return the same UUID also have to return the same set of types in getTypes(). If an unique implementation Id cannot be provided this method has to return an empty sequence. Important: If the object aggregates other objects the UUID has to be unique for the whole combination of objects.
Top of Page