:: com :: sun :: star :: lang ::

interface XTypeProvider

Methods' Summary
getTypes returns a sequence of all types (usually interface types) provided by the object. @attention If the object aggregates other objects the sequence also has to contain all types supported by the aggregated objects.  
getImplementationId [ DEPRECATED ]
Obsolete unique identifier. Originally returned a sequence of bytes which, when non-empty, was used as an ID to distinguish unambiguously between two sets of types, for example to realise hashing functionality when the object is introspected. Two objects that returned the same non-empty ID had to return the same set of types in getTypes(). (If a unique ID could not be provided, this method was always allowed to return an empty sequence, though).  
Methods' Details
getTypes
sequence< type >
getTypes();

Description
returns a sequence of all types (usually interface types) provided by the object. @attention If the object aggregates other objects the sequence also has to contain all types supported by the aggregated objects.
getImplementationId
sequence< byte >
getImplementationId();

Usage Restrictions
deprecated
Deprecation Info
This feature should no longer be used, and implementations are encouraged to always return an empty sequence.
Description
Obsolete unique identifier. Originally returned a sequence of bytes which, when non-empty, was used as an ID to distinguish unambiguously between two sets of types, for example to realise hashing functionality when the object is introspected. Two objects that returned the same non-empty ID had to return the same set of types in getTypes(). (If a unique ID could not be provided, this method was always allowed to return an empty sequence, though).
Top of Page